Skip to content

Commit

Permalink
Fix issue in test to remove PGDB.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBelcour committed Dec 22, 2022
1 parent 6067a3b commit 7b9d97a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_mpwt_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ def test_create_dats_and_lisp():


def test_check_input_and_existing_pgdb():
mpwt.remove_pgdbs('fatty_acid_beta_oxydation_icyc,fatty_acid_beta_oxydation_i_gffcyc,fatty_acid_beta_oxydation_i_pfcyc')
pgdb_to_remove = ['fatty_acid_beta_oxydation_icyc', 'fatty_acid_beta_oxydation_i_gffcyc', 'fatty_acid_beta_oxydation_i_pfcyc']
mpwt.remove_pgdbs(pgdb_to_remove)

run_patho_ids, run_flat_ids = mpwt.pathologic_input.check_input_and_existing_pgdb(['fatty_acid_beta_oxydation_I', 'fatty_acid_beta_oxydation_I_pf', 'fatty_acid_beta_oxydation_I_gff'], 'test', None, 1)
assert sorted(run_patho_ids) == sorted(['fatty_acid_beta_oxydation_I', 'fatty_acid_beta_oxydation_I_pf', 'fatty_acid_beta_oxydation_I_gff'])
Expand Down

0 comments on commit 7b9d97a

Please sign in to comment.