Example #1
0
 def test_verb_and_resumptiontoken_nand_anyfilter(self):
     self.assertTrue(
         repository.check_listmetadataformats_args(
             ['verb', 'resumptionToken']))
Example #2
0
 def test_verb_and_resumptiontoken_and_anythingelse_case15(self):
     self.assertFalse(
         repository.check_listmetadataformats_args(
             ['verb', 'resumptionToken', 'metadataPrefix']))
Example #3
0
 def test_verb_nand_resumptiontoken_nand_metadataprefix(self):
     self.assertTrue(repository.check_listmetadataformats_args(['verb']))
Example #4
0
 def test_verb_and_resumptiontoken_and_anythingelse_case2(self):
     self.assertFalse(
         repository.check_listmetadataformats_args(
             ['verb', 'resumptionToken', 'from', 'until', 'set']))
Example #5
0
 def test_verb_is_missing(self):
     self.assertFalse(repository.check_listmetadataformats_args([]))