Esempio n. 1
0
 def test_collection_path_and_name_match_should_return_false_when_not_matched(
         self):
     result = KeywordsImporter._collection_path_and_name_match(
         EXPECTED_COLLECTION_WITH_KW_1.collection, EXISTING_COLLECTION_2)
     self.assertFalse(result)
Esempio n. 2
0
 def test_collection_path_and_name_match_should_return_true_when_matched(
         self):
     result = KeywordsImporter._collection_path_and_name_match(
         EXPECTED_COLLECTION, EXPECTED_COLLECTION)
     self.assertTrue(result)