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

Partial Unit Tests for Translate.py #546

Merged
merged 2 commits into from
Jun 26, 2020
Merged

Partial Unit Tests for Translate.py #546

merged 2 commits into from
Jun 26, 2020

Conversation

CodeSammich
Copy link
Contributor

Description of proposed changes

This pull request includes initial tests for translate.py.

Related issue(s)

Related to #476

Testing

What steps should be taken to test the changes you've proposed?

Please run the runner.sh file and run tests as normal. Please note these are not exhaustive tests, as I had difficulty how to mock the TreeTime dict inputs for some of the other translate.py functions.

Thank you for contributing to Nextstrain!

@codecov
Copy link

codecov bot commented Apr 25, 2020

Codecov Report

Merging #546 into master will increase coverage by 0.63%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #546      +/-   ##
==========================================
+ Coverage   18.68%   19.32%   +0.63%     
==========================================
  Files          31       31              
  Lines        5053     5072      +19     
  Branches     1281     1288       +7     
==========================================
+ Hits          944      980      +36     
+ Misses       4082     4069      -13     
+ Partials       27       23       -4     
Impacted Files Coverage Δ
augur/translate.py 18.97% <0.00%> (+1.97%) ⬆️
augur/mask.py 100.00% <0.00%> (+13.63%) ⬆️

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 9ed6f80...49c6738. Read the comment docs.

@huddlej
Copy link
Contributor

huddlej commented Jun 26, 2020

Thank you for the tests, @CodeSammich!

@huddlej huddlej merged commit ef91b72 into nextstrain:master Jun 26, 2020
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