Skip to content
Snippets Groups Projects
Commit e952181e authored by Venkat Malladi's avatar Venkat Malladi
Browse files

Test that size is greater than 0.

parent 7df1a370
Branches
Tags
1 merge request!67Resolve "Rename Plot profile to be consistent with naming"
Pipeline #6333 failed with stages
in 23 seconds
...@@ -11,8 +11,9 @@ test_output_path = os.path.dirname(os.path.abspath(__file__)) + \ ...@@ -11,8 +11,9 @@ test_output_path = os.path.dirname(os.path.abspath(__file__)) + \
@pytest.mark.singleend @pytest.mark.singleend
def test_plot_singleend(): def test_plot_singleend():
assert os.path.exists(os.path.join(test_output_path, 'plotProfile.png')) 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 @pytest.mark.pairedend
def test_plot_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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment