From 051d31fa289197a3374c3daae19f7c0466dd57d6 Mon Sep 17 00:00:00 2001
From: Venkat Malladi <venkat.malladi@utsouthwestern.edu>
Date: Thu, 16 May 2019 08:42:26 -0500
Subject: [PATCH] Make test more generic.

---
 workflow/tests/test_annotate_peaks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/workflow/tests/test_annotate_peaks.py b/workflow/tests/test_annotate_peaks.py
index f71c266..e43a63c 100644
--- a/workflow/tests/test_annotate_peaks.py
+++ b/workflow/tests/test_annotate_peaks.py
@@ -24,7 +24,7 @@ def test_upsetplot_singleend():
 def test_annotation_singleend():
     annotation_file = test_output_path + 'ENCSR238SGC.chipseeker_annotation.tsv'
     assert os.path.exists(annotation_file)
-    assert utils.count_lines(annotation_file) == 149284
+    assert utils.count_lines(annotation_file) >= 149284
 
 
 @pytest.mark.pairedend
-- 
GitLab