We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ 3s] + PYTHONPATH=:/home/abuild/rpmbuild/BUILDROOT/python-apns2-0.7.1-0.x86_64/usr/lib/python3.8/site-packages [ 3s] + PYTHONDONTWRITEBYTECODE=1 [ 3s] + py.test-3.8 --ignore=_build.python2 --ignore=_build.python3 --ignore=_build.pypy3 -v [ 3s] ============================= test session starts ============================== [ 3s] platform linux -- Python 3.8.3, pytest-5.4.3, py-1.8.1, pluggy-0.13.1 -- /usr/bin/python3 [ 3s] cachedir: .pytest_cache [ 3s] rootdir: /home/abuild/rpmbuild/BUILD/apns2-0.7.1 [ 3s] collecting ... collected 13 items [ 3s] [ 3s] test/test_client.py::test_connect_establishes_connection PASSED [ 7%] [ 3s] test/test_client.py::test_connect_retries_failed_connection PASSED [ 15%] [ 3s] test/test_client.py::test_connect_stops_on_reaching_max_retries PASSED [ 23%] [ 3s] test/test_client.py::test_send_empty_batch_does_nothing PASSED [ 30%] [ 3s] test/test_client.py::test_send_notification_batch_returns_results_in_order PASSED [ 38%] [ 4s] test/test_client.py::test_send_notification_batch_respects_max_concurrent_streams_from_server PASSED [ 46%] [ 4s] test/test_client.py::test_send_notification_batch_overrides_server_max_concurrent_streams_if_too_large PASSED [ 53%] [ 4s] test/test_client.py::test_send_notification_batch_overrides_server_max_concurrent_streams_if_too_small PASSED [ 61%] [ 4s] test/test_client.py::test_send_notification_batch_reports_different_results PASSED [ 69%] [ 4s] test/test_credentials.py::test_token_expiration ERROR [ 76%] [ 4s] test/test_payload.py::test_payload_alert PASSED [ 84%] [ 4s] test/test_payload.py::test_payload PASSED [ 92%] [ 5s] test/test_payload.py::test_payload_with_payload_alert PASSED [100%] [ 5s] [ 5s] ==================================== ERRORS ==================================== [ 5s] ___________________ ERROR at setup of test_token_expiration ____________________ [ 5s] [ 5s] @pytest.fixture [ 5s] def token_credentials(): [ 5s] > return TokenCredentials('test/eckey.pem', '1QBCDJ9RST', '3Z24IP123A') [ 5s] [ 5s] test/test_credentials.py:17: [ 5s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 5s] apns2/credentials.py:48: in __init__ [ 5s] self.__auth_key = self._get_signing_key(auth_key_path) [ 5s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 5s] [ 5s] key_path = 'test/eckey.pem' [ 5s] [ 5s] @staticmethod [ 5s] def _get_signing_key(key_path: str) -> str: [ 5s] secret = '' [ 5s] if key_path: [ 5s] > with open(key_path) as f: [ 5s] E FileNotFoundError: [Errno 2] No such file or directory: 'test/eckey.pem' [ 5s] [ 5s] apns2/credentials.py:71: FileNotFoundError [ 5s] =============================== warnings summary =============================== [ 5s] /usr/lib/python3.8/site-packages/hyper/http11/connection.py:13 [ 5s] /usr/lib/python3.8/site-packages/hyper/http11/connection.py:13 [ 5s] /usr/lib/python3.8/site-packages/hyper/http11/connection.py:13: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working [ 5s] from collections import Iterable, Mapping [ 5s] [ 5s] /usr/lib/python3.8/site-packages/hyper/common/headers.py:13 [ 5s] /usr/lib/python3.8/site-packages/hyper/common/headers.py:13: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working [ 5s] class HTTPHeaderMap(collections.MutableMapping): [ 5s] [ 5s] -- Docs: https://docs.pytest.org/en/latest/warnings.html [ 5s] =========================== short test summary info ============================ [ 5s] ERROR test/test_credentials.py::test_token_expiration - FileNotFoundError: [E... [ 5s] =================== 12 passed, 3 warnings, 1 error in 1.57s ====================
Please, package file test/eckey.pem as well. Thank you.
test/eckey.pem
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Sorry, something went wrong.
So, is it because this project is dead (which doesn’t seem so, there are some commits at least in visible memory) or you just don’t care?
bde942d
Thank you.
No branches or pull requests
Please, package file
test/eckey.pem
as well. Thank you.The text was updated successfully, but these errors were encountered: