From 44edba97234508d6765ed14725ae53cd512a86ba Mon Sep 17 00:00:00 2001 From: Jeremy Mathews <Jeremy.Mathews@utsouthwestern.edu> Date: Wed, 29 May 2019 08:58:35 -0500 Subject: [PATCH] Error Check Update path name --- workflow/tests/test_motif_search.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workflow/tests/test_motif_search.py b/workflow/tests/test_motif_search.py index b66c813..5f12ac0 100644 --- a/workflow/tests/test_motif_search.py +++ b/workflow/tests/test_motif_search.py @@ -21,7 +21,7 @@ def test_limited_peaks_singleend(): def test_motif_search_singleend(): assert os.path.exists(os.path.join(test_output_path, 'ENCSR238SGC_memechip', 'ENCSR238SGC.fa')) assert os.path.exists(os.path.join(test_output_path, 'ENCSR238SGC_memechip', 'index.html')) - assert os.path.getsize(test_output_path + 'ENCSR238SGC.fa') > 0 + assert os.path.getsize(os.path.join(test_output_path, 'ENCSR238SGC_memechip', 'ENCSR238SGC.fa')) > 0 @pytest.mark.singleskip_true def test_motif_search_singleend(): @@ -39,4 +39,4 @@ def test_limited_peaks_pairedend(): def test_motif_search_pairedend(): assert os.path.exists(os.path.join(test_output_path, 'ENCSR729LGA_memechip', 'ENCSR729LGA.fa')) assert os.path.exists(os.path.join(test_output_path, 'ENCSR729LGA_memechip', 'index.html')) - assert os.path.getsize(test_output_path + 'ENCSR729LGA.fa') > 0 + assert os.path.getsize(os.path.join(test_output_path, 'ENCSR238SGC_memechip', 'ENCSR729LGA.fa')) > 0 -- GitLab