diff --git a/workflow/tests/test_plot_profile.py b/workflow/tests/test_plot_profile.py index 6c9605d6d654f66adec865372223e13ddeaf6b19..b304551c2b86a8aaba0612348f2e2fbb9f380b22 100644 --- a/workflow/tests/test_plot_profile.py +++ b/workflow/tests/test_plot_profile.py @@ -11,8 +11,9 @@ test_output_path = os.path.dirname(os.path.abspath(__file__)) + \ @pytest.mark.singleend def test_plot_singleend(): assert os.path.exists(os.path.join(test_output_path, 'plotProfile.png')) - + assert os.path.getsize(os.path.join(test_output_path, 'plotProfile.png')) > 0 @pytest.mark.pairedend def test_plot_pairedend(): - assert os.path.exists(os.path.join(test_output_path, 'computeMatrix.gz')) + assert os.path.exists(os.path.join(test_output_path, 'plotProfile.png')) + assert os.path.getsize(os.path.join(test_output_path, 'plotProfile.png')) > 0