Skip to content

Commit

Permalink
Update test_ena_accessor.py
Browse files Browse the repository at this point in the history
Fix error in test data trying to insert the samples from previous test
  • Loading branch information
johausmann authored Nov 9, 2023
1 parent a4927af commit 98076f1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions covigator/tests/unit_tests/test_ena_accessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,30 +293,30 @@ def test_filtering_empty_collection_date(self):

# Test that collection date filter can be disabled
ena_accessor_empty_collection_disabled = FakeEnaAccessor(results=[
{"run_accession": "ERR4080483",
{"run_accession": "ERR4080486",
"scientific_name": "Severe acute respiratory syndrome coronavirus 2",
"instrument_platform": "ILLUMINA",
"library_strategy": "WGS",
"fastq_ftp": "ftp.sra.ebi.ac.uk/vol1/fastq/ERR408/003/ERR4080483/ERR4080483_1.fastq.gz",
"fastq_ftp": "ftp.sra.ebi.ac.uk/vol1/fastq/ERR408/003/ERR4080483/ERR4080486_1.fastq.gz",
"fastq_md5": "a91a9dfa2f7008e13a7ce9767aa9aaf3",
"host_tax_id": "9606",
"first_created": "2020-01-01",
"collection_date": "2019-12-31 12:12:12",
},
{"run_accession": "ERR4080484",
{"run_accession": "ERR4080487",
"scientific_name": "Severe acute respiratory syndrome coronavirus 2",
"instrument_platform": "ILLUMINA",
"library_strategy": "WGS",
"fastq_ftp": "ftp.sra.ebi.ac.uk/vol1/fastq/ERR408/003/ERR4080483/ERR4080483_1.fastq.gz",
"fastq_ftp": "ftp.sra.ebi.ac.uk/vol1/fastq/ERR408/003/ERR4080483/ERR4080487_1.fastq.gz",
"fastq_md5": "c57fef34933cbbec2e9e08867f3c664c",
"host_tax_id": "9606",
"first_created": "2020-01-01 14:50",
"collection_date": "2019-12-31 12:12:12"},
{"run_accession": "ERR4080485",
{"run_accession": "ERR4080488",
"scientific_name": "Severe acute respiratory syndrome coronavirus 2",
"instrument_platform": "ILLUMINA",
"library_strategy": "WGS",
"fastq_ftp": "ftp.sra.ebi.ac.uk/vol1/fastq/ERR408/005/ERR4080485/ERR4080485_1.fastq.gz",
"fastq_ftp": "ftp.sra.ebi.ac.uk/vol1/fastq/ERR408/005/ERR4080485/ERR4080488_1.fastq.gz",
"fastq_md5": "4de269d2b5831e1c5175586af694d21e",
"host_tax_id": "9606",
"first_created": "",
Expand Down

0 comments on commit 98076f1

Please sign in to comment.