Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
KorayKirli committed May 31, 2019
1 parent 33e4580 commit 565ec46
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Binary file added tests/data_files/FileFastq_pairing.xlsx
Binary file not shown.
9 changes: 9 additions & 0 deletions tests/test_import_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1173,6 +1173,15 @@ def test_file_pair_chk_sheets_w_no_aliases_col_skipped():
assert report['NO GO'] == 'Can only check file pairing by aliases'


@pytest.mark.file_operation
def test_file_pair_chk_multiple_aliases():
"""This file contains multiple aliases and various ways to link the paired files
If the check is running properly, should not see any errors."""
fastq_rows = imp.reader('./tests/data_files/FileFastq_pairing.xlsx', sheetname='FileFastq')
pair_errs = imp.check_file_pairing(fastq_rows)
assert not pair_errs


@pytest.fixture
def mock_profiles():
return {
Expand Down

0 comments on commit 565ec46

Please sign in to comment.