From 54712f54a2eff307a3b08958d4921bf5ff7dbcc0 Mon Sep 17 00:00:00 2001 From: Nana Mensah Date: Thu, 24 Oct 2019 11:48:01 +0100 Subject: [PATCH] Fix test_min_age --- wscleaner/test/test_all.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wscleaner/test/test_all.py b/wscleaner/test/test_all.py index 38a7495..fcc7f2a 100644 --- a/wscleaner/test/test_all.py +++ b/wscleaner/test/test_all.py @@ -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):