darpa-sail-on / sail-on-client

Client and Protcols for DARPA Sail On.
https://darpa-sail-on.github.io/sail-on-client/index.html
Other
2 stars 0 forks source link

Fix test failure #160

Closed as6520 closed 2 years ago

as6520 commented 2 years ago

This PR fixes the test failure that is occurring on the master. The cause of failure was unseeded random number generation that was causing a valid input to be generated when an exception was expected. By creating a seeded random number generator and providing it to the tests via a fixture this issue has been addressed.

codecov[bot] commented 2 years ago

Codecov Report

Merging #160 (e3e7f53) into master (01efd7c) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #160   +/-   ##
=========================================
  Coverage   93.247%   93.247%           
=========================================
  Files           34        34           
  Lines         1540      1540           
=========================================
  Hits          1436      1436           
  Misses         104       104           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 01efd7c...e3e7f53. Read the comment docs.