tests: Update pytest_plugin according to latest version change

This commit is contained in:
Antoine R. Dumont (@ardumont) 2019-10-14 18:20:15 +02:00
parent 9a1314c656
commit a8cde12d72
No known key found for this signature in database
GPG key ID: 52E2E9840D10C3B8
44 changed files with 8 additions and 8 deletions

View file

@ -18,8 +18,8 @@ class GitHubListerTester(HttpListerTester, unittest.TestCase):
Lister = GitHubLister
test_re = re.compile(r'/repositories\?since=([^?&]+)')
lister_subdir = 'github'
good_api_response_file = 'data/api.github.com/first_response.json'
bad_api_response_file = 'data/api.github.com/empty_response.json'
good_api_response_file = 'data/https_api.github.com/first_response.json'
bad_api_response_file = 'data/https_api.github.com/empty_response.json'
first_index = 0
last_index = 369
entries_per_page = 100
@ -52,7 +52,7 @@ class GitHubListerTester(HttpListerTester, unittest.TestCase):
@requests_mock.Mocker()
def test_scheduled_tasks(self, http_mocker):
self.scheduled_tasks_test(
'data/api.github.com/next_response.json', 876, http_mocker)
'data/https_api.github.com/next_response.json', 876, http_mocker)
def test_lister_github(swh_listers, requests_mock_datadir):