dwavesystems / dwave-system

An API for easily incorporating the D-Wave system as a sampler, either directly or through Leap's cloud-based hybrid samplers
https://docs.ocean.dwavesys.com/
Apache License 2.0
87 stars 61 forks source link

Change name of non-test class #488

Closed thisac closed 1 year ago

thisac commented 1 year ago

Changes the name of the class TestChainBreakResolutionAPI to ChainBreakResolutionAPI, which is only used for inheritance and is not a collection of tests itself, so that Pytest doesn't pick it up as a test while also keeping unittest happy.

codecov-commenter commented 1 year ago

Codecov Report

Merging #488 (0523adc) into master (3e15d25) will decrease coverage by 2.81%. The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master     #488      +/-   ##
==========================================
- Coverage   90.87%   88.07%   -2.81%     
==========================================
  Files          24       24              
  Lines        1677     1677              
==========================================
- Hits         1524     1477      -47     
- Misses        153      200      +47     
Impacted Files Coverage Δ
dwave/system/coupling_groups.py 12.50% <0.00%> (-81.25%) :arrow_down:
dwave/system/samplers/clique.py 74.66% <0.00%> (-14.00%) :arrow_down:
dwave/system/samplers/dwave_sampler.py 84.15% <0.00%> (-2.74%) :arrow_down:
dwave/system/samplers/leap_hybrid_sampler.py 75.35% <0.00%> (-2.37%) :arrow_down:
dwave/system/composites/embedding.py 96.57% <0.00%> (-1.15%) :arrow_down:
dwave/system/testing.py 96.66% <0.00%> (-0.84%) :arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more