Skip to content
New issue

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

2 tests fail #637

Open
yurivict opened this issue Jul 15, 2024 · 0 comments
Open

2 tests fail #637

yurivict opened this issue Jul 15, 2024 · 0 comments

Comments

@yurivict
Copy link

======================================================================
FAIL: test_json_logs (tests.test_cli.TestLogging.test_json_logs)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/ports/science/py-dwave-cloud-client/work-py311/dwave-cloud-client-0.12.0/dwave/cloud/testing/__init__.py", line 136, in wrapper
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/ports/science/py-dwave-cloud-client/work-py311/dwave-cloud-client-0.12.0/tests/test_cli.py", line 734, in test_json_logs
    self.assertEqual(ret.returncode, 1)
AssertionError: 127 != 1

======================================================================
FAIL: test_config_file_detection_user (tests.test_config.TestConfigParsing.test_config_file_detection_user)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/ports/science/py-dwave-cloud-client/work-py311/dwave-cloud-client-0.12.0/tests/test_config.py", line 116, in test_config_file_detection_user
    self.assertEqual(get_configfile_paths(), [configpath])
AssertionError: Lists differ: [] != ['/usr/ports/science/py-dwave-cloud-client/work-py311/.config/dwave/dwave.conf']

Second list contains 1 additional elements.
First extra element 0:
'/usr/ports/science/py-dwave-cloud-client/work-py311/.config/dwave/dwave.conf'

- []
+ ['/usr/ports/science/py-dwave-cloud-client/work-py311/.config/dwave/dwave.conf']

----------------------------------------------------------------------
Ran 1235 tests in 23.037s

FAILED (failures=2, skipped=184)

Version: 0.12.0
Python-3.11
FreeBSD 14.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant