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

Add some tests to assert that refactoring worked #68

Merged
merged 1 commit into from
Oct 22, 2020
Merged

Conversation

noisecapella
Copy link

@noisecapella noisecapella commented Oct 21, 2020

What are the relevant tickets?

Part of #56

What's this PR do?

Adds tests for parts of master JSON which were previously not covered by unit tests. The tests should show that the data looks good on master so that when we refactor we can know that the new code passes the same tests.

How should this be manually tested?

N/A

@noisecapella
Copy link
Author

Not sure why codecov is giving a warning since this only adds unit tests...

@codecov-io
Copy link

codecov-io commented Oct 21, 2020

Codecov Report

Merging #68 into master will decrease coverage by 0.16%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #68      +/-   ##
==========================================
- Coverage   96.51%   96.34%   -0.17%     
==========================================
  Files           8        8              
  Lines         602      602              
==========================================
- Hits          581      580       -1     
- Misses         21       22       +1     
Impacted Files Coverage Δ
ocw_data_parser/ocw_data_parser.py 94.87% <0.00%> (-0.31%) ⬇️

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 9687458...3494b73. Read the comment docs.

@noisecapella noisecapella mentioned this pull request Oct 21, 2020
Copy link
Contributor

@abeglova abeglova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@noisecapella noisecapella merged commit ec0af2c into master Oct 22, 2020
@noisecapella noisecapella deleted the gs/tests branch October 22, 2020 19:37
@odlbot odlbot mentioned this pull request Oct 23, 2020
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants