10 lines
277 B
Python
10 lines
277 B
Python
import unittest
|
|
from util import label
|
|
|
|
class BaselineTests(unittest.TestCase):
|
|
def test_label_trims_whitespace(self):
|
|
self.assertEqual(label(" workshop "), "workshop")
|
|
|
|
def test_label_accepts_numeric_identity(self):
|
|
self.assertEqual(label(13), "13")
|