Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Commit

Permalink
Fix test_min_age
Browse files Browse the repository at this point in the history
  • Loading branch information
Nana Mensah authored and Nana Mensah committed Oct 24, 2019
1 parent b1b1f8d commit 54712f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wscleaner/test/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ def test_find_fastqs(self, data_test_runfolders):

def test_min_age(self, rfm):
"""test that the runfolder age function records age"""
runfolders = rfm.find_runfolders(min_age=0)
runfolders = rfm.find_runfolders(min_age=10)
# Asser that this test runfolder was recently generated
assert all([ rf.age < 14 for rf in runfolders ])
assert all([ rf.age > 10 for rf in runfolders ])

class TestRFM:
def test_find_runfolders(self, data_test_runfolders, rfm):
Expand Down

0 comments on commit 54712f5

Please sign in to comment.