Esempio n. 1
0
 def test_storage_vocab(self):
     """Test the test storage vocab"""
     vocab = getFileStorageVocab(self.release)
     found = False
     for index, title in vocab:
         if index == u'archetype' and title == "Archetypes (stores releases via Archetype's AttributeStorage)":
             found = True
             break
     self.assert_(found)
Esempio n. 2
0
 def test_storage_vocab(self):
     """Test the test storage vocab"""
     vocab = getFileStorageVocab(self.release)
     found = False
     for index, title in vocab:
         if index == u'archetype' and title == "Archetypes (stores releases via Archetype's AttributeStorage)":
             found = True
             break
     self.assert_(found)
Esempio n. 3
0
 def getFileStorageStrategyVocab(self):
     """returns registered storage strategies"""
     return getFileStorageVocab(self)