tests: Bump dependency on latest swh-core

This also modifies the test dataset to filename with url decoded filename.
As this is what the latest pytest plugin requires.
This commit is contained in:
Antoine R. Dumont (@ardumont) 2019-11-06 15:01:05 +01:00
parent e0dbca759c
commit 81a31f3c06
No known key found for this signature in database
GPG key ID: 52E2E9840D10C3B8
9 changed files with 4 additions and 4 deletions

View file

@ -1,2 +1,2 @@
swh.core >= 0.0.75
swh.core >= 0.0.77
swh.scheduler >= 0.0.58

View file

@ -1 +1 @@
2.0_repositories,after=1970-01-01T00%3A00%3A00%2B00%3A00,pagelen=100
2.0_repositories,after=1970-01-01T00:00:00+00:00,pagelen=100

View file

@ -1 +1 @@
_all_docs,startkey=%22%22,limit=1001
_all_docs,startkey="",limit=1001

View file

@ -20,7 +20,7 @@ logger = logging.getLogger(__name__)
class NpmListerTester(HttpListerTesterBase, unittest.TestCase):
Lister = NpmLister
test_re = re.compile(r'^.*/_all_docs\?startkey=%22(.+)%22.*')
test_re = re.compile(r'^.*/_all_docs\?startkey="(.+)".*')
lister_subdir = 'npm'
good_api_response_file = 'data/replicate.npmjs.com/api_response.json'
bad_api_response_file = 'data/api_empty_response.json'