diff --git a/tests/test_get_read_orientation.py b/tests/test_get_read_orientation.py index 1089433..ddd9fb6 100644 --- a/tests/test_get_read_orientation.py +++ b/tests/test_get_read_orientation.py @@ -154,7 +154,10 @@ def test_evaluate_paired_unmapped(self, tmpdir): CONFIG.args.path_1_processed = FILE_UNMAPPED_PAIRED_1 CONFIG.args.path_2_processed = FILE_UNMAPPED_PAIRED_2 CONFIG.args.tmp_dir = tmpdir - CONFIG.results.library_source = ResultsSource() + CONFIG.results.library_source = ResultsSource( + file_1=Source(short_name="hsapiens", taxon_id=9606), + file_2=Source(short_name="hsapiens", taxon_id=9606) + ) CONFIG.results.library_type = ResultsType( relationship=StatesTypeRelationship.split_mates, ) @@ -259,7 +262,7 @@ def test_evaluate_paired_not_mates_unmapped(self, tmpdir): ) CONFIG.results.library_source = ResultsSource( file_1=Source(), - file_2=Source(), + file_2=Source(short_name="hsapiens", taxon_id=9606), ) CONFIG.args.tmp_dir = tmpdir MAPPING.mapped = False