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

Fix tests that submit empty QPU problems #534

Closed randomir closed 2 years ago

randomir commented 2 years ago

Empty QPU problems recently started causing a hard-fail when submitted to SAPI.

The only reason we use empty problems in tests is convenience -- during SAPI interface tests (unrelated to actual problem or answer). We can easily replace them with any problem, e.g. a single-variable, single linear zero bias problem.