Example #1
0
 def test_with_namespace(self):
     self.assertEqual(
         "{uri:bar}foo",
         xso.tag_to_str(("uri:bar", "foo"))
     )
Example #2
0
 def test_with_namespace(self):
     self.assertEqual("{uri:bar}foo", xso.tag_to_str(("uri:bar", "foo")))
Example #3
0
 def test_unqualified(self):
     self.assertEqual(
         "foo",
         xso.tag_to_str((None, "foo"))
     )
Example #4
0
 def test_unqualified(self):
     self.assertEqual("foo", xso.tag_to_str((None, "foo")))