Skip to content

Commit

Permalink
Fixed pytest mark.skipif conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
awnawab committed Jul 28, 2023
1 parent 533cbfa commit 395df00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transformations/tests/test_ecwam.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from loki import execute, HAVE_FP, FP

pytestmark = pytest.mark.skipif('ECWAM_DIR' not in os.environ, reason='ECWAM_DIR not set')
pytestmark = pytest.mark.skipif(not HAVE_FP, reason='ecWam only compatible with Fparser')

@pytest.fixture(scope='module', name='here')
def fixture_here():
Expand Down Expand Up @@ -45,6 +44,7 @@ def fixture_write_script():


@pytest.mark.usefixtures('bundle_create')
@pytest.mark.skipif(not HAVE_FP, reason="FP needed for ECWAM parsing")
def test_ecwam(here, write_script, frontend=FP):
build_cmd = [
'./ecwam-bundle', 'build', '--clean',
Expand Down

0 comments on commit 395df00

Please sign in to comment.