def test_names(): """ Test basic split of module::test """ a = "x::y" b = get_node_names(a) assert b == ('x', 'y')
def test_words(): """ Test split of module::class::test """ a = "boo::foo::doo" b = get_node_names(a) assert b == ('foo', 'doo')
def test_name(): """ Test split of module::class::test """ x = "x::y::z" y = get_node_names(x) assert y == ('y', 'z')
def test_name(self): x = "x::y::z" y = get_node_names(x) assert y == ('y', 'z')
def test_names(self): a = "x::y" b = get_node_names(a) assert b == ('x', 'y')
def test_words(self): a = "boo::foo::doo" b = get_node_names(a) assert b == ('foo', 'doo')