Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Set pytest.integration for tests that access BQ
Signed-off-by: Cody Lin <codyl@twitter.com>
  • Loading branch information
Cody Lin committed Jun 20, 2021
commit 5abc428d17b16d70d01154e76c96cb616e4b6cf0
2 changes: 2 additions & 0 deletions sdk/python/tests/test_cli_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from tests.online_read_write_test import basic_rw_test


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


@pytest.mark.integration
def test_non_local_feature_repo() -> None:
"""
Test running apply on a sample repo, and make sure the infra gets created.
Expand Down
2 changes: 2 additions & 0 deletions sdk/python/tests/test_online_retrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from tests.cli_utils import CliRunner, get_example_repo


@pytest.mark.integration
def test_online() -> None:
"""
Test reading from the online store in local mode.
Expand Down Expand Up @@ -238,6 +239,7 @@ def test_online() -> None:
os.rename(store.config.registry + "_fake", store.config.registry)


@pytest.mark.integration
def test_online_to_df():
"""
Test dataframe conversion. Make sure the response columns and rows are
Expand Down
1 change: 1 addition & 0 deletions sdk/python/tests/test_partial_apply.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from tests.online_read_write_test import basic_rw_test


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