gem-pasteur / Integron_Finder

Bioinformatics tool to find integrons in bacterial genomes
GNU General Public License v3.0
64 stars 22 forks source link

IntegronFinder does not pass unitary test "test_main_outdir_exists" (test_merge.TestMain) #94

Closed eloilit closed 2 years ago

eloilit commented 2 years ago

Version of Integron_Finder:

integron_finder version 2-2021-10-21 (cloned from GitHub)

OS

Expected behavior

Pass the test

Actual behavior

Fails the test

Steps to reproduce behavior

In /src/integron_finder, type "python tests/run_tests.py -vv"

Relevant logs and/or screenshots

======================================================================
FAIL: test_main_outdir_exists (test_merge.TestMain)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/eloi/IFfromGit/src/integron-finder/tests/test_merge.py", line 218, in test_main_outdir_exists
    self.assertEqual(str(ctx.exception), exp_msg)
AssertionError: "'/private/var/folders/qd/009yqynj1x79lrddsv[81 chars]tory" != "'/var/folders/qd/009yqynj1x79lrddsvymdg0h00[73 chars]tory"
- '/private/var/folders/qd/009yqynj1x79lrddsvymdg0h0000gn/T/test_integron_merge/bad_out_dir' already exists and is not a directory
?  --------
+ '/var/folders/qd/009yqynj1x79lrddsvymdg0h0000gn/T/test_integron_merge/bad_out_dir' already exists and is not a directory
----------------------------------------------------------------------