From 1b16d1c12200dfa653d7d0136911ad09801d1736 Mon Sep 17 00:00:00 2001 From: Marco van Zwetselaar Date: Mon, 30 Dec 2024 13:13:05 +0300 Subject: [PATCH] Minor fixes in tests --- test/test_parsing_validity.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_parsing_validity.py b/test/test_parsing_validity.py index 3a2fcdb..d098ff1 100644 --- a/test/test_parsing_validity.py +++ b/test/test_parsing_validity.py @@ -100,8 +100,8 @@ def test_amrfinderplus(): assert result.input_protein_length == 391 # missing data in report - assert result.reference_gene_length == None - assert result.input_gene_length == None + assert result.reference_gene_length is None + assert result.input_gene_length is None assert result.coverage_depth is None assert result.coverage_ratio is None assert result.resistance_mechanism is None @@ -428,7 +428,7 @@ def test_resfinder(): assert result.amino_acid_mutation_interpretation is None else: - assert result.genetic_variation_type == False # just to stop + assert result.genetic_variation_type is False # just to stop # Check that we saw all assert seen_genes == 4