Skip to content

Commit

Permalink
add function test for 'get_repos_for_dosocs'
Browse files Browse the repository at this point in the history
Signed-off-by: Parth Sharma <parth261297@gmail.com>
  • Loading branch information
parthsharma2 committed Jul 5, 2019
1 parent 45ee33b commit dd14f1c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions augur/datasources/augur_db/test_augur_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,3 +247,7 @@ def test_issues_maintainer_response_duration(augur_db):
assert augur_db.issues_maintainer_response_duration(20, 21000).iloc[0].average_days_comment > 0
assert augur_db.issues_maintainer_response_duration(20).iloc[0].average_days_comment > 0
assert augur_db.issues_maintainer_response_duration(20, 21000).iloc[0].average_days_comment > 0

def test_get_repos_for_dosocs(augur_db):
assert augur_db.get_repos_for_dosocs().isin(
['/home/sean/git-repos/23/github.com/rails/rails-dom-testing']).any().any()

0 comments on commit dd14f1c

Please sign in to comment.