You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/tests/test_scraper.py", line 223, in test_default_num_results
self.assertTrue(all(key in apps[0] for key in BASIC_KEYS))
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/tests/test_scraper.py", line 223, in
self.assertTrue(all(key in apps[0] for key in BASIC_KEYS))
IndexError: list index out of range
Traceback (most recent call last):
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/tests/test_scraper.py", line 231, in test_family_with_age_collection
age='SIX_EIGHT')
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py", line 132, in collection
response = send_request('POST', url, data, self.params)
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/utils.py", line 121, in send_request
response.raise_for_status()
File "/usr/lib/python3.7/site-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://play.google.com/store/apps/category/FAMILY/collection/topselling_free?hl=en&gl=us&age=AGE_RANGE2
Traceback (most recent call last):
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/tests/test_scraper.py", line 191, in test_non_detailed_different_language_and_country
apps = s.collection('TOP_PAID', 'LIFESTYLE', results=5)
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py", line 132, in collection
response = send_request('POST', url, data, self.params)
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/utils.py", line 121, in send_request
response.raise_for_status()
File "/usr/lib/python3.7/site-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://play.google.com/store/apps/category/LIFESTYLE/collection/topselling_paid?hl=da&gl=dk
Traceback (most recent call last):
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py", line 82, in details
response = send_request('GET', url, params=self.params)
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/utils.py", line 121, in send_request
response.raise_for_status()
File "/usr/lib/python3.7/site-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://play.google.com/store/apps/details?id=org.selfie.beauty.camera.pro&hl=en&gl=us
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/tests/test_scraper.py", line 156, in test_app_with_no_developer
app_data = self.s.details('org.selfie.beauty.camera.pro')
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py", line 86, in details
app=app_id, error=e))
ValueError: Invalid application ID: org.selfie.beauty.camera.pro. 404 Client Error: Not Found for url: https://play.google.com/store/apps/details?id=org.selfie.beauty.camera.pro&hl=en&gl=us
Traceback (most recent call last):
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/tests/test_scraper.py", line 241, in test_promotion_collection_id
self.assertEqual(2, len(apps))
AssertionError: 2 != 0
Ran 53 tests in 37.547s
FAILED (failures=4, errors=9)
Test failed: <unittest.runner.TextTestResult run=53 errors=9 failures=4>
error: Test failed: <unittest.runner.TextTestResult run=53 errors=9 failures=4>
error: Bad exit status from /var/tmp/rpm-tmp.HGuyQ3 (%check)
The text was updated successfully, but these errors were encountered:
Describe the bug
Tests are failing. There are 404 and 405 issues which seems to result in assertion errors.
To Reproduce
$ python3 setup.py test
Expected behavior
Passing of all tests.
Desktop (please complete the following information):
Additional context
Output
The text was updated successfully, but these errors were encountered: