From 335198dc70e99a739f6e19200a4e882cf4390466 Mon Sep 17 00:00:00 2001 From: JeanMainguy Date: Mon, 4 Dec 2023 23:48:03 +0100 Subject: [PATCH] fix test bin dirs --- tests/bin_manager_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/bin_manager_test.py b/tests/bin_manager_test.py index 906ab7c..c40f814 100644 --- a/tests/bin_manager_test.py +++ b/tests/bin_manager_test.py @@ -516,8 +516,8 @@ def test_get_bins_from_directory(create_temp_bin_files): # Check if the Bin objects are created with the correct contigs, set name, and bin names assert isinstance(bins[0], bin_manager.Bin) assert isinstance(bins[1], bin_manager.Bin) - assert bins[1].contigs == {"contig1", "contig2"} - assert bins[0].contigs == {"contig3", "contig4"} + assert bins[1].contigs in [{"contig1", "contig2"}, {"contig3", "contig4"}] + assert bins[0].contigs in [{"contig1", "contig2"}, {"contig3", "contig4"}] assert bins[0].origin == set_name assert bins[1].origin == set_name assert bins[1].name == "bin1.fasta"