Move split_entity_id to helpers
This commit is contained in:
parent
de08f0afaa
commit
bc19ef66bf
10 changed files with 24 additions and 26 deletions
|
@ -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"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue