Move split_entity_id to helpers
This commit is contained in:
1 parent
de08f0afaa
commit
bc19ef66bf
10 files changed
+24
-26
No files matched your search
@@ -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"))
|
||||
|
||||
Reference in new issue
Block a user