9 lines
212 B
Python
9 lines
212 B
Python
|
|
import unittest
|
||
|
|
|
||
|
|
from labels import slug_label
|
||
|
|
|
||
|
|
|
||
|
|
class HoldoutLabelTests(unittest.TestCase):
|
||
|
|
def test_long_mixed_separator_run(self):
|
||
|
|
self.assertEqual(slug_label("___Alpha _ Beta___"), "alpha-beta")
|