Skip to content

Commit

Permalink
chore: disable thermodynamics tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Midnighter committed Oct 20, 2020
1 parent 5076cd6 commit f37ebfd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 15 deletions.
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ install_requires =
goodtables ~=2.0
depinfo
requests
equilibrator_api <0.2;python_version>='3.5'
python_requires = >=3.6
tests_require =
tox
Expand Down
12 changes: 5 additions & 7 deletions src/memote/suite/tests/test_thermodynamics.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,14 @@

from __future__ import absolute_import, division

from sys import version_info

import pytest


if version_info[:2] < (3, 5):
pytest.skip(
"Thermodynamic tests require at least Python version 3.5.",
allow_module_level=True,
)
pytest.skip(
"Thermodynamic tests are disabled until upgrade to new equilibrator-api version.",
allow_module_level=True,
)


import memote.support.basic as basic # noqa
import memote.support.thermodynamics as thermo # noqa
Expand Down
11 changes: 4 additions & 7 deletions tests/test_for_support/test_for_thermodynamics.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,14 @@

from __future__ import absolute_import

from sys import version_info

import cobra
import pytest


if version_info[:2] < (3, 5):
pytest.skip(
"Thermodynamic tests require at least Python version 3.5.",
allow_module_level=True,
)
pytest.skip(
"Thermodynamic tests are disabled until upgrade to new equilibrator-api version.",
allow_module_level=True,
)

import memote.support.thermodynamics as thermo
from memote.utils import register_with
Expand Down

0 comments on commit f37ebfd

Please sign in to comment.