def test_pull_raises(self, locale): data_provider = BaseDataProvider(locale=locale) with pytest.raises(FileNotFoundError): data_provider.pull('something.json')
def test_pull(self, locale, city): data_provider = BaseDataProvider(locale) data_provider.pull('address.json') assert city in data_provider._data['city']