Output
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.HGuyQ3
+ umask 022
+ cd /home/fab/rpmbuild/BUILD
+ cd play-scraper-0.6.0
+ /usr/bin/python3 setup.py test
running test
Searching for requests-futures>=0.9.7
Reading https://pypi.org/simple/requests-futures/
Downloading https://files.pythonhosted.org/packages/47/c4/fd48d1ac5110a5457c71ac7cc4caa93da10a80b8de71112430e439bdee22/requests-futures-1.0.0.tar.gz#sha256=35547502bf1958044716a03a2f47092a89efe8f9789ab0c4c528d9c9c30bc148
Best match: requests-futures 1.0.0
Processing requests-futures-1.0.0.tar.gz
Writing /tmp/easy_install-87wce9d5/requests-futures-1.0.0/setup.cfg
Running requests-futures-1.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-87wce9d5/requests-futures-1.0.0/egg-dist-tmp-kjhu22lj
creating /home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/.eggs/requests_futures-1.0.0-py3.7.egg
Extracting requests_futures-1.0.0-py3.7.egg to /home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/.eggs
Installed /home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/.eggs/requests_futures-1.0.0-py3.7.egg
running egg_info
writing play_scraper.egg-info/PKG-INFO
writing dependency_links to play_scraper.egg-info/dependency_links.txt
writing requirements to play_scraper.egg-info/requires.txt
writing top-level names to play_scraper.egg-info/top_level.txt
reading manifest file 'play_scraper.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'play_scraper.egg-info/SOURCES.txt'
running build_ext
test_categories_ok (tests.test_scraper.CategoryTest) ... ok
test_different_language_and_country (tests.test_scraper.CategoryTest) ... ok
test_default_num_results (tests.test_scraper.CollectionTest) ... ERROR
test_detailed_collection (tests.test_scraper.CollectionTest) ... FAIL
test_detailed_collection_different_language (tests.test_scraper.CollectionTest) ... FAIL
test_family_with_age_collection (tests.test_scraper.CollectionTest) ... ERROR
test_invalid_category_id (tests.test_scraper.CollectionTest) ... ok
test_invalid_collection_id (tests.test_scraper.CollectionTest) ... ok
test_invalid_num_results_over_120 (tests.test_scraper.CollectionTest) ... ok
test_invalid_page_x_results_over_500 (tests.test_scraper.CollectionTest) ... ok
test_non_detailed_collection (tests.test_scraper.CollectionTest) ... FAIL
test_non_detailed_different_language_and_country (tests.test_scraper.CollectionTest) ... ERROR
test_promotion_collection_id (tests.test_scraper.CollectionTest) ... FAIL
test_app_with_no_developer (tests.test_scraper.DetailsTest) ... ERROR
test_fetching_app_in_spanish (tests.test_scraper.DetailsTest) ... ok
test_fetching_app_with_all_details (tests.test_scraper.DetailsTest) ... ok
test_developer_parameter_float_invalid (tests.test_scraper.DeveloperTest) ... ok
test_developer_parameter_int_invalid (tests.test_scraper.DeveloperTest) ... ok
test_developer_parameter_long_invalid (tests.test_scraper.DeveloperTest) ... ok
test_developer_parameter_string_digits_invalid (tests.test_scraper.DeveloperTest) ... ok
test_different_language_and_country (tests.test_scraper.DeveloperTest) ... ERROR
test_fetch_developer_apps_detailed (tests.test_scraper.DeveloperTest) ... ERROR
test_fetching_developer_default_results (tests.test_scraper.DeveloperTest) ... ERROR
test_maximum_results (tests.test_scraper.DeveloperTest) ... ERROR
test_over_max_results_fetches_five (tests.test_scraper.DeveloperTest) ... ERROR
test_page_out_of_range (tests.test_scraper.DeveloperTest) ... ok
test_init_with_defaults (tests.test_scraper.PlayScraperTest) ... ok
test_init_with_language_and_geolocation (tests.test_scraper.PlayScraperTest) ... ok
test_invalid_geolocation_code_raises (tests.test_scraper.PlayScraperTest) ... ok
test_invalid_language_code_raises (tests.test_scraper.PlayScraperTest) ... ok
test_basic_search (tests.test_scraper.SearchTest) ... ok
test_different_language_and_country (tests.test_scraper.SearchTest) ... ok
test_page_out_of_range_not_between_0_and_12 (tests.test_scraper.SearchTest) ... ok
test_search_with_app_detailed (tests.test_scraper.SearchTest) ... /home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py:71: ResourceWarning: unclosed <ssl.SSLSocket fd=12, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.193', 47640), raddr=('172.217.168.46', 443)>
return multi_futures_app_request(app_ids, params=self.params)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py:71: ResourceWarning: unclosed <ssl.SSLSocket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.193', 50764), raddr=('216.58.215.238', 443)>
return multi_futures_app_request(app_ids, params=self.params)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py:71: ResourceWarning: unclosed <ssl.SSLSocket fd=7, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.193', 50760), raddr=('216.58.215.238', 443)>
return multi_futures_app_request(app_ids, params=self.params)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py:71: ResourceWarning: unclosed <ssl.SSLSocket fd=8, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.193', 47632), raddr=('172.217.168.46', 443)>
return multi_futures_app_request(app_ids, params=self.params)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py:71: ResourceWarning: unclosed <ssl.SSLSocket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.193', 47626), raddr=('172.217.168.46', 443)>
return multi_futures_app_request(app_ids, params=self.params)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py:71: ResourceWarning: unclosed <ssl.SSLSocket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.193', 47628), raddr=('172.217.168.46', 443)>
return multi_futures_app_request(app_ids, params=self.params)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py:71: ResourceWarning: unclosed <ssl.SSLSocket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.193', 50768), raddr=('216.58.215.238', 443)>
return multi_futures_app_request(app_ids, params=self.params)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py:71: ResourceWarning: unclosed <ssl.SSLSocket fd=3, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.193', 47624), raddr=('172.217.168.46', 443)>
return multi_futures_app_request(app_ids, params=self.params)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py:71: ResourceWarning: unclosed <ssl.SSLSocket fd=6, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.193', 47630), raddr=('172.217.168.46', 443)>
return multi_futures_app_request(app_ids, params=self.params)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py:71: ResourceWarning: unclosed <ssl.SSLSocket fd=11, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.193', 47636), raddr=('172.217.168.46', 443)>
return multi_futures_app_request(app_ids, params=self.params)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
ok
test_different_language_and_country (tests.test_scraper.SimilarTest) ... ok
test_similar_ok (tests.test_scraper.SimilarTest) ... ok
test_similar_with_app_detailed (tests.test_scraper.SimilarTest) ... /home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py:71: ResourceWarning: unclosed <ssl.SSLSocket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.193', 47664), raddr=('172.217.168.46', 443)>
return multi_futures_app_request(app_ids, params=self.params)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py:71: ResourceWarning: unclosed <ssl.SSLSocket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.193', 47680), raddr=('172.217.168.46', 443)>
return multi_futures_app_request(app_ids, params=self.params)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py:71: ResourceWarning: unclosed <ssl.SSLSocket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.193', 47666), raddr=('172.217.168.46', 443)>
return multi_futures_app_request(app_ids, params=self.params)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py:71: ResourceWarning: unclosed <ssl.SSLSocket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.193', 50796), raddr=('216.58.215.238', 443)>
return multi_futures_app_request(app_ids, params=self.params)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py:71: ResourceWarning: unclosed <ssl.SSLSocket fd=6, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.193', 50794), raddr=('216.58.215.238', 443)>
return multi_futures_app_request(app_ids, params=self.params)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py:71: ResourceWarning: unclosed <ssl.SSLSocket fd=8, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.193', 50798), raddr=('216.58.215.238', 443)>
return multi_futures_app_request(app_ids, params=self.params)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py:71: ResourceWarning: unclosed <ssl.SSLSocket fd=3, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.193', 47662), raddr=('172.217.168.46', 443)>
return multi_futures_app_request(app_ids, params=self.params)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py:71: ResourceWarning: unclosed <ssl.SSLSocket fd=11, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.193', 47678), raddr=('172.217.168.46', 443)>
return multi_futures_app_request(app_ids, params=self.params)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py:71: ResourceWarning: unclosed <ssl.SSLSocket fd=7, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.193', 47674), raddr=('172.217.168.46', 443)>
return multi_futures_app_request(app_ids, params=self.params)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py:71: ResourceWarning: unclosed <ssl.SSLSocket fd=12, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.0.193', 50802), raddr=('216.58.215.238', 443)>
return multi_futures_app_request(app_ids, params=self.params)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
ok
test_different_language_and_country (tests.test_scraper.SuggestionTest) ... ok
test_empty_query (tests.test_scraper.SuggestionTest) ... ok
test_query_suggestions (tests.test_scraper.SuggestionTest) ... ok
test_list_url_both_args (tests.test_utils.TestBuildListUrl) ... ok
test_list_url_no_args (tests.test_utils.TestBuildListUrl) ... ok
test_list_url_only_category (tests.test_utils.TestBuildListUrl) ... ok
test_list_url_only_collection (tests.test_utils.TestBuildListUrl) ... ok
test_building_app_url (tests.test_utils.TestBuildUrl) ... ok
test_building_multiple_word_dev_name (tests.test_utils.TestBuildUrl) ... ok
test_building_simple_dev_name (tests.test_utils.TestBuildUrl) ... ok
test_default_post_data (tests.test_utils.TestGeneratePostData) ... ok
test_first_page_data (tests.test_utils.TestGeneratePostData) ... ok
test_only_num_results (tests.test_utils.TestGeneratePostData) ... ok
test_page_token (tests.test_utils.TestGeneratePostData) ... ok
test_request_with_params (tests.test_utils.TestSendRequest) ... ok
test_send_normal_request (tests.test_utils.TestSendRequest) ... ok
======================================================================
ERROR: test_default_num_results (tests.test_scraper.CollectionTest)
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
======================================================================
ERROR: test_family_with_age_collection (tests.test_scraper.CollectionTest)
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
======================================================================
ERROR: test_non_detailed_different_language_and_country (tests.test_scraper.CollectionTest)
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
======================================================================
ERROR: test_app_with_no_developer (tests.test_scraper.DetailsTest)
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
======================================================================
ERROR: test_different_language_and_country (tests.test_scraper.DeveloperTest)
Traceback (most recent call last):
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/tests/test_scraper.py", line 302, in test_different_language_and_country
apps = s.developer('Google LLC', results=5)
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py", line 165, in developer
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: 405 Client Error: Method Not Allowed for url: https://play.google.com/store/apps/developer?id=Google+LLC&hl=da&gl=dk
======================================================================
ERROR: test_fetch_developer_apps_detailed (tests.test_scraper.DeveloperTest)
Traceback (most recent call last):
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/tests/test_scraper.py", line 294, in test_fetch_developer_apps_detailed
apps = self.s.developer('Disney', results=3, detailed=True)
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py", line 165, in developer
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: 405 Client Error: Method Not Allowed for url: https://play.google.com/store/apps/developer?id=Disney&hl=en&gl=us
======================================================================
ERROR: test_fetching_developer_default_results (tests.test_scraper.DeveloperTest)
Traceback (most recent call last):
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/tests/test_scraper.py", line 272, in test_fetching_developer_default_results
apps = self.s.developer('Disney')
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py", line 165, in developer
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: 405 Client Error: Method Not Allowed for url: https://play.google.com/store/apps/developer?id=Disney&hl=en&gl=us
======================================================================
ERROR: test_maximum_results (tests.test_scraper.DeveloperTest)
Traceback (most recent call last):
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/tests/test_scraper.py", line 280, in test_maximum_results
apps = self.s.developer('Google LLC', results=120)
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py", line 165, in developer
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: 405 Client Error: Method Not Allowed for url: https://play.google.com/store/apps/developer?id=Google+LLC&hl=en&gl=us
======================================================================
ERROR: test_over_max_results_fetches_five (tests.test_scraper.DeveloperTest)
Traceback (most recent call last):
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/tests/test_scraper.py", line 287, in test_over_max_results_fetches_five
apps = self.s.developer('Google LLC', results=121)
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/play_scraper/scraper.py", line 165, in developer
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: 405 Client Error: Method Not Allowed for url: https://play.google.com/store/apps/developer?id=Google+LLC&hl=en&gl=us
======================================================================
FAIL: test_detailed_collection (tests.test_scraper.CollectionTest)
Traceback (most recent call last):
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/tests/test_scraper.py", line 200, in test_detailed_collection
self.assertEqual(1, len(apps))
AssertionError: 1 != 0
======================================================================
FAIL: test_detailed_collection_different_language (tests.test_scraper.CollectionTest)
Traceback (most recent call last):
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/tests/test_scraper.py", line 210, in test_detailed_collection_different_language
self.assertEqual(1, len(apps))
AssertionError: 1 != 0
======================================================================
FAIL: test_non_detailed_collection (tests.test_scraper.CollectionTest)
Traceback (most recent call last):
File "/home/fab/Documents/repos/rpmbuild/BUILD/play-scraper-0.6.0/tests/test_scraper.py", line 178, in test_non_detailed_collection
self.assertEqual(2, len(apps))
AssertionError: 2 != 0
======================================================================
FAIL: test_promotion_collection_id (tests.test_scraper.CollectionTest)
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)