dwavesystems / dwave-cloud-client

A minimal implementation of the REST interface used to communicate with D-Wave Solver API (SAPI) servers.
https://docs.ocean.dwavesys.com/projects/cloud-client/en/stable/
Apache License 2.0
59 stars 40 forks source link

2 tests fail #637

Open yurivict opened 2 months ago

yurivict commented 2 months ago
======================================================================
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