def test_taxonomy_no_value(self):
     val = taxonomy_exists(
         "",
         TestValidators.normal_context
     )
 def test_taxonomy_missing(self):
     val = taxonomy_exists(
         "http://localhost.local/made-up-uri",
         TestValidators.normal_context
     )
 def test_taxonomy_exists_ok(self):
     val = taxonomy_exists(
         "http://localhost.local/taxonomy-one",
         TestValidators.normal_context
     )
     assert val == "http://localhost.local/taxonomy-one"
Exemplo n.º 4
0
 def test_taxonomy_no_value(self):
     val = taxonomy_exists("", TestValidators.normal_context)
Exemplo n.º 5
0
 def test_taxonomy_missing(self):
     val = taxonomy_exists("http://localhost.local/made-up-uri",
                           TestValidators.normal_context)
Exemplo n.º 6
0
 def test_taxonomy_exists_ok(self):
     val = taxonomy_exists("http://localhost.local/taxonomy-one",
                           TestValidators.normal_context)
     assert val == "http://localhost.local/taxonomy-one"