Skip to content

Commit

Permalink
Fix black changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jorg-vr committed Oct 21, 2024
1 parent 39bcc25 commit 886c785
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/test_functionality.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ def test_global_variable(language: str, tmp_path: Path, pytestconfig: pytest.Con
conf = configuration(
pytestconfig, "global", language, tmp_path, "one.tson", "correct"
)
if Construct.GLOBAL_VARIABLES not in get_language(None, conf.programming_language).supported_constructs():
if (
Construct.GLOBAL_VARIABLES
not in get_language(None, conf.programming_language).supported_constructs()
):
pytest.skip("Language doesn't support global variables")
result = execute_config(conf)
updates = assert_valid_output(result, pytestconfig)
Expand All @@ -46,7 +49,10 @@ def test_global_variable_yaml(
conf = configuration(
pytestconfig, "global", language, tmp_path, "plan.yaml", "correct"
)
if Construct.GLOBAL_VARIABLES not in get_language(None, conf.programming_language).supported_constructs():
if (
Construct.GLOBAL_VARIABLES
not in get_language(None, conf.programming_language).supported_constructs()
):
pytest.skip("Language doesn't support global variables")
result = execute_config(conf)
updates = assert_valid_output(result, pytestconfig)
Expand Down

0 comments on commit 886c785

Please sign in to comment.