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)
def getFileStorageStrategyVocab(self): """returns registered storage strategies""" return getFileStorageVocab(self)