Skip to content

Commit

Permalink
Add reason kwd to skipif.
Browse files Browse the repository at this point in the history
  • Loading branch information
rslanka committed May 26, 2022
1 parent b431fe6 commit 1c05629
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion metadata-ingestion/tests/integration/hana/test_hana.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@pytest.mark.slow_integration
@pytest.mark.skipif(
platform.machine().lower() == "aarch64",
"The hdbcli dependency is not available for aarch64",
reason="The hdbcli dependency is not available for aarch64",
)
def test_hana_ingest(docker_compose_runner, pytestconfig, tmp_path, mock_time):
test_resources_dir = pytestconfig.rootpath / "tests/integration/hana"
Expand Down
6 changes: 3 additions & 3 deletions metadata-ingestion/tests/unit/test_hana_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

@pytest.mark.skipif(
platform.machine().lower() == "aarch64",
"The hdbcli dependency is not available for aarch64",
reason="The hdbcli dependency is not available for aarch64",
)
def test_platform_correctly_set_hana():
source = HanaSource(
Expand All @@ -20,7 +20,7 @@ def test_platform_correctly_set_hana():

@pytest.mark.skipif(
platform.machine().lower() == "aarch64",
"The hdbcli dependency is not available for aarch64",
reason="The hdbcli dependency is not available for aarch64",
)
def test_hana_uri_native():
config = HanaConfig.parse_obj(
Expand All @@ -36,7 +36,7 @@ def test_hana_uri_native():

@pytest.mark.skipif(
platform.machine().lower() == "aarch64",
"The hdbcli dependency is not available for aarch64",
reason="The hdbcli dependency is not available for aarch64",
)
def test_hana_uri_native_db():
config = HanaConfig.parse_obj(
Expand Down

0 comments on commit 1c05629

Please sign in to comment.