Move split_entity_id to helpers

This commit is contained in:
Paulus Schoutsen 2016-01-23 22:49:49 -08:00
parent de08f0afaa
commit bc19ef66bf
10 changed files with 24 additions and 26 deletions

View file

@ -36,11 +36,6 @@ class TestUtil(unittest.TestCase):
self.assertEqual("test_more", util.slugify("Test More"))
self.assertEqual("test_more", util.slugify("Test_(More)"))
def test_split_entity_id(self):
""" Test split_entity_id. """
self.assertEqual(['domain', 'object_id'],
util.split_entity_id('domain.object_id'))
def test_repr_helper(self):
""" Test repr_helper. """
self.assertEqual("A", util.repr_helper("A"))