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
tests.login_service.LoginServiceCodeforcesTest testMethod=test_login_failure failed.
tests.login_service.LoginServiceCodeforcesTest testMethod=test_login_failure
pytest tests/*.py
The tests pass.
https://github.com/online-judge-tools/api-client/runs/2272180619
=================================== FAILURES =================================== ________________ LoginServiceCodeforcesTest.test_login_failure _________________ self = <tests.login_service.LoginServiceCodeforcesTest testMethod=test_login_failure> def test_login_failure(self) -> None: url = 'https://codeforces.com/' expected = {'status': 'error', 'messages': ['onlinejudge.type.LoginError: Invalid handle or password.'], 'result': None} with update_environ(USERNAME='online-judge-tools', PASSWORD='password'): with temporary_cookie() as cookie_path: actual = main(['--cookie', str(cookie_path), 'login-service', url], debug=True) > self.assertEqual(expected, actual) E AssertionError: {'sta[24 chars]': ['onlinejudge.type.LoginError: Invalid hand[29 chars]None} != {'sta[24 chars]': ['AssertionError'], 'result': None} E + {'messages': ['AssertionError'], 'result': None, 'status': 'error'} E - {'messages': ['onlinejudge.type.LoginError: Invalid handle or password.'], E - 'result': None, E - 'status': 'error'} tests/login_service.py:80: AssertionError
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary / 概要
tests.login_service.LoginServiceCodeforcesTest testMethod=test_login_failure
failed.Steps to reproduce / 再現方法
pytest tests/*.py
Expected behavior / 期待される挙動
The tests pass.
Actual behavior / 実際の挙動
https://github.com/online-judge-tools/api-client/runs/2272180619
The text was updated successfully, but these errors were encountered: