def get_model(self, model): if self.validate_model(model): mdl = Archive.get_model(Archive, model, self._path) return mdl
def test_get_model(test_file): data = Archive.get_model(Archive, 'test', test_file[:-53]) assert data == ['1']