From fd62f1c762aa33ce05593d1e7c65e59c75a86e2a Mon Sep 17 00:00:00 2001 From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu> Date: Thu, 7 Nov 2019 14:28:40 -0600 Subject: [PATCH] Remove depreciated file output unit tests --- workflow/tests/test_check_design.py | 23 ----------------------- workflow/tests/test_fastqc.py | 24 ------------------------ workflow/tests/test_untarBCL.py | 24 ------------------------ workflow/tests/test_versions.py | 25 ------------------------- 4 files changed, 96 deletions(-) delete mode 100644 workflow/tests/test_check_design.py delete mode 100644 workflow/tests/test_fastqc.py delete mode 100644 workflow/tests/test_untarBCL.py delete mode 100644 workflow/tests/test_versions.py diff --git a/workflow/tests/test_check_design.py b/workflow/tests/test_check_design.py deleted file mode 100644 index 1fe995f..0000000 --- a/workflow/tests/test_check_design.py +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env python3 -#test_check_design.py -#* -#* -------------------------------------------------------------------------- -#* Licensed under MIT (https://git.biohpc.swmed.edu/BICF/Astrocyte/cellranger_mkfastq/blob/develop/LICENSE) -#* -------------------------------------------------------------------------- -#* - -import pytest -import pandas as pd -from io import StringIO -import os - -test_output_path = os.path.dirname(os.path.abspath(__file__)) + \ - '/../output/misc/checkDesignFile/run/' - -@pytest.mark.simple1 -def test_simple1_design(): - assert os.path.exists(os.path.join(test_output_path, 'design.checked.csv')) - -@pytest.mark.simple2 -def test_simple2_design(): - assert os.path.exists(os.path.join(test_output_path, 'design.checked.csv')) \ No newline at end of file diff --git a/workflow/tests/test_fastqc.py b/workflow/tests/test_fastqc.py deleted file mode 100644 index 4ba67d8..0000000 --- a/workflow/tests/test_fastqc.py +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -#test_fastq.py -#* -#* -------------------------------------------------------------------------- -#* Licensed under MIT (https://git.biohpc.swmed.edu/BICF/Astrocyte/cellranger_mkfastq/blob/develop/LICENSE) -#* -------------------------------------------------------------------------- -#* - -import pytest -import pandas as pd -from io import StringIO -import os - -test_output_path = os.path.dirname(os.path.abspath(__file__)) + \ - '/../output/misc/fastqc/run/' - -@pytest.mark.simple1 -def test_simple1_fastqc(): - assert os.path.exists(os.path.join(test_output_path, 'cellranger-tiny-bcl-1_2_0')) - -@pytest.mark.simple2 -def test_simple2_fastqc(): - assert os.path.exists(os.path.join(test_output_path, 'cellranger-tiny-bcl-1_2_0-1')) - assert os.path.exists(os.path.join(test_output_path, 'cellranger-tiny-bcl-1_2_0-2')) \ No newline at end of file diff --git a/workflow/tests/test_untarBCL.py b/workflow/tests/test_untarBCL.py deleted file mode 100644 index 47f1798..0000000 --- a/workflow/tests/test_untarBCL.py +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python3 -#test_untarBCL.py -#* -#* -------------------------------------------------------------------------- -#* Licensed under MIT (https://git.biohpc.swmed.edu/BICF/Astrocyte/cellranger_mkfastq/blob/develop/LICENSE) -#* -------------------------------------------------------------------------- -#* - -import pytest -import pandas as pd -from io import StringIO -import os - -test_output_path = os.path.dirname(os.path.abspath(__file__)) + \ - '/../output/untarBCL/' - -@pytest.mark.simple1 -def test_simple1_untarBCL(): - assert os.path.exists(os.path.join(test_output_path, 'cellranger-tiny-bcl-1_2_0', 'RTAComplete.txt')) - -@pytest.mark.simple2 -def test_simple2_untarBCL(): - assert os.path.exists(os.path.join(test_output_path, 'cellranger-tiny-bcl-1_2_0-1', 'RTAComplete.txt')) - assert os.path.exists(os.path.join(test_output_path, 'cellranger-tiny-bcl-1_2_0-2', 'RTAComplete.txt')) \ No newline at end of file diff --git a/workflow/tests/test_versions.py b/workflow/tests/test_versions.py deleted file mode 100644 index 3108114..0000000 --- a/workflow/tests/test_versions.py +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env python3 -#test_versions.py -#* -#* -------------------------------------------------------------------------- -#* Licensed under MIT (https://git.biohpc.swmed.edu/BICF/Astrocyte/cellranger_mkfastq/blob/develop/LICENSE) -#* -------------------------------------------------------------------------- -#* - -import pytest -import pandas as pd -from io import StringIO -import os - -test_output_path = os.path.dirname(os.path.abspath(__file__)) + \ - '/../output/misc/versions/run/' - -@pytest.mark.simple1 -def test_simple1_versions(): - assert os.path.exists(os.path.join(test_output_path, 'versions_mqc.yaml')) - assert os.path.exists(os.path.join(test_output_path, 'references_mqc.yaml')) - -@pytest.mark.simple2 -def test_simple2_versions(): - assert os.path.exists(os.path.join(test_output_path, 'versions_mqc.yaml')) - assert os.path.exists(os.path.join(test_output_path, 'references_mqc.yaml')) \ No newline at end of file -- GitLab