def test_roots(self): self.assertEquals(thing.stringify_ns([]), '') self.assertEquals(thing.parse_ns(''), [])
def test_simple(self): self.assertEquals(thing.parse_ns('a'), ['a']) self.assertEquals(thing.parse_ns('a.b'), ['a', 'b'])