File tree Expand file tree Collapse file tree
multiqc/modules/proteinfold/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import pytest
2+
23from pathlib import Path
4+
35from multiqc import report
46from multiqc .modules .proteinfold import MultiqcModule
7+ from multiqc .utils import testing
8+
59
610# Will fix when I do a PR against the MultiQC test data repo
7- # TEST_DATA_DIR = Path(__file__).parent / "test-data"
8- TEST_DATA_DIR = Path ("/srv/scratch/z3374843/test-data/data/modules/proteinfold" )
11+ test_data_proteinfold = Path ("/srv/scratch/z3374843/test-data/data/modules/proteinfold" )
12+
13+
14+ # @pytest.fixture
15+ # def data_dir():
16+ # return testing.data_dir()
917
1018
1119@pytest .fixture
@@ -15,8 +23,10 @@ def mod():
1523 report .analysis_files = []
1624 report .files = {}
1725
26+ # test_data_proteinfold = data_dir / "modules" / "proteinfold"
27+
1828 # Set up analysis files from local test data
19- report .analysis_files = list (TEST_DATA_DIR .glob ("*" ))
29+ report .analysis_files = list (test_data_proteinfold .glob ("*" ))
2030 report .search_files (["proteinfold" ])
2131
2232 return MultiqcModule ()
You can’t perform that action at this time.
0 commit comments