Skip to content

Commit

Permalink
Fix tests broken by #446.
Browse files Browse the repository at this point in the history
  • Loading branch information
donkirkby committed Sep 19, 2018
1 parent 0100e3b commit 228dc90
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions micall/tests/test_kive_watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -1509,12 +1509,14 @@ def test_full_with_two_samples(raw_data_with_two_samples, mock_open_kive, pipeli
sample_group=SampleGroup('2110A',
('2110A-V3LOOP_S13_L001_R1_001.fastq.gz',
None)))
kive_watcher.poll_runs()
is_full1 = kive_watcher.is_full()
kive_watcher.add_sample_group(
base_calls=base_calls,
sample_group=SampleGroup('2120A',
('2120A-PR_S14_L001_R1_001.fastq.gz',
None)))
kive_watcher.poll_runs()
is_full2 = kive_watcher.is_full()

folder_watcher, = kive_watcher.folder_watchers.values()
Expand All @@ -1541,12 +1543,14 @@ def test_full_with_two_runs(raw_data_with_two_runs, mock_open_kive, pipelines_co
sample_group=SampleGroup('2000A',
('2000A-V3LOOP_S2_L001_R1_001.fastq.gz',
None)))
kive_watcher.poll_runs()
is_full1 = kive_watcher.is_full()
kive_watcher.add_sample_group(
base_calls=base_calls2,
sample_group=SampleGroup('2010A',
('2010A-V3LOOP_S3_L001_R1_001.fastq.gz',
None)))
kive_watcher.poll_runs()
is_full2 = kive_watcher.is_full()

folder_watcher = kive_watcher.folder_watchers[base_calls1]
Expand Down

0 comments on commit 228dc90

Please sign in to comment.