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

Fix yaml and toml tests in test_config #1253

Merged
merged 2 commits into from
Jul 21, 2021
Merged

Conversation

terriko
Copy link
Contributor

@terriko terriko commented Jul 15, 2021

Two of the tests in test_config were failing, presumably because they'd
gotten out of date when we changed the default for extraction. These
tests were not being run in CI (thanks to @Molkree for noting that) so
they didn't get fixed in a timely manner.

Signed-off-by: Terri Oda terri.oda@intel.com

@codecov-commenter
Copy link

codecov-commenter commented Jul 15, 2021

Codecov Report

Merging #1253 (807b058) into main (e089976) will increase coverage by 0.55%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1253      +/-   ##
==========================================
+ Coverage   78.80%   79.36%   +0.55%     
==========================================
  Files         240      240              
  Lines        4501     4501              
  Branches      559      559              
==========================================
+ Hits         3547     3572      +25     
+ Misses        804      781      -23     
+ Partials      150      148       -2     
Flag Coverage Δ
longtests 79.36% <ø> (+0.55%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
test/test_config.py 100.00% <ø> (+100.00%) ⬆️
cve_bin_tool/config.py 100.00% <0.00%> (+20.00%) ⬆️

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 e089976...807b058. Read the comment docs.

* Related to intel#1159

Two of the tests in test_config were failing, presumably because they'd
gotten out of date when we changed the default for extraction. These
tests were not being run in CI (thanks to @Molkree for noting that) so
they didn't get fixed in a timely manner.

Signed-off-by: Terri Oda <terri.oda@intel.com>
@terriko
Copy link
Contributor Author

terriko commented Jul 21, 2021

No one had any objections to merging this in our weekly meeting, so I'm going to go ahead and do that now so that these tests are running again.

@terriko terriko merged commit db7f09f into intel:main Jul 21, 2021
peb-peb pushed a commit to peb-peb/cve-bin-tool that referenced this pull request Aug 2, 2021
* Fix yaml and toml tests in test_config
* Related to intel#1159
* Add test_config back to updated CI

Two of the tests in test_config were failing, presumably because they'd
gotten out of date when we changed the default for extraction. These
tests were not being run in CI (thanks to @Molkree for noticing that) so
they didn't get fixed in a timely manner.

Signed-off-by: Terri Oda <terri.oda@intel.com>
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

Successfully merging this pull request may close these issues.

2 participants