From 64800e1fc12a8e1fa521858207070b9146e6482f Mon Sep 17 00:00:00 2001 From: Andrew Rosen Date: Sun, 24 Sep 2023 19:37:44 -0700 Subject: [PATCH] `sourcery` refactor --- tests/recipes/compiled_recipes/test_real_gulp_recipes.py | 2 +- tests/recipes/compiled_recipes/test_real_orca_recipes.py | 2 +- tests/recipes/dftb_recipes/test_dftb_recipes.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/recipes/compiled_recipes/test_real_gulp_recipes.py b/tests/recipes/compiled_recipes/test_real_gulp_recipes.py index 9712c45f62..bf26899932 100644 --- a/tests/recipes/compiled_recipes/test_real_gulp_recipes.py +++ b/tests/recipes/compiled_recipes/test_real_gulp_recipes.py @@ -12,7 +12,7 @@ ) pytestmark = pytest.mark.skipif( - has_gulp is False or SETTINGS.WORKFLOW_ENGINE != "local", + not has_gulp or SETTINGS.WORKFLOW_ENGINE != "local", reason="Need GULP and Need to use local as workflow manager to run this test.", ) diff --git a/tests/recipes/compiled_recipes/test_real_orca_recipes.py b/tests/recipes/compiled_recipes/test_real_orca_recipes.py index f53c971bdf..141f52fb62 100644 --- a/tests/recipes/compiled_recipes/test_real_orca_recipes.py +++ b/tests/recipes/compiled_recipes/test_real_orca_recipes.py @@ -9,7 +9,7 @@ has_orca = bool(which(SETTINGS.ORCA_CMD)) pytestmark = pytest.mark.skipif( - has_orca is False or SETTINGS.WORKFLOW_ENGINE != "local", + not has_orca or SETTINGS.WORKFLOW_ENGINE != "local", reason="Need ORCA and Need to use local as workflow manager to run this test.", ) diff --git a/tests/recipes/dftb_recipes/test_dftb_recipes.py b/tests/recipes/dftb_recipes/test_dftb_recipes.py index 241c8ef8a8..a6e886fecb 100644 --- a/tests/recipes/dftb_recipes/test_dftb_recipes.py +++ b/tests/recipes/dftb_recipes/test_dftb_recipes.py @@ -10,7 +10,7 @@ DEFAULT_SETTINGS = SETTINGS.copy() pytestmark = pytest.mark.skipif( - DFTBPLUS_EXISTS is False or SETTINGS.WORKFLOW_ENGINE != "local", + not DFTBPLUS_EXISTS or SETTINGS.WORKFLOW_ENGINE != "local", reason="Need DFTB+ and Need to use local as workflow manager to run this test.", )