Skip to content

Commit 5abc428

Browse files
author
Cody Lin
committed
Set pytest.integration for tests that access BQ
Signed-off-by: Cody Lin <codyl@twitter.com>
1 parent 458beab commit 5abc428

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎sdk/python/tests/test_cli_local.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from tests.online_read_write_test import basic_rw_test
1111

1212

13+
@pytest.mark.integration
1314
def test_workflow() -> None:
1415
"""
1516
Test running apply on a sample repo, and make sure the infra gets created.
@@ -78,6 +79,7 @@ def test_workflow() -> None:
7879
assertpy.assert_that(result.returncode).is_equal_to(0)
7980

8081

82+
@pytest.mark.integration
8183
def test_non_local_feature_repo() -> None:
8284
"""
8385
Test running apply on a sample repo, and make sure the infra gets created.

‎sdk/python/tests/test_online_retrieval.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
from tests.cli_utils import CliRunner, get_example_repo
1515

1616

17+
@pytest.mark.integration
1718
def test_online() -> None:
1819
"""
1920
Test reading from the online store in local mode.
@@ -238,6 +239,7 @@ def test_online() -> None:
238239
os.rename(store.config.registry + "_fake", store.config.registry)
239240

240241

242+
@pytest.mark.integration
241243
def test_online_to_df():
242244
"""
243245
Test dataframe conversion. Make sure the response columns and rows are

‎sdk/python/tests/test_partial_apply.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from tests.online_read_write_test import basic_rw_test
66

77

8+
@pytest.mark.integration
89
def test_partial() -> None:
910
"""
1011
Add another table to existing repo using partial apply API. Make sure both the table

0 commit comments

Comments
 (0)