Skip to content

Commit

Permalink
refactor: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Gianluca Amori committed May 14, 2024
1 parent cd2fea5 commit 3163096
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@
)
path = os.getenv("S3_TEST_PATH", "s3://example-bucket/example/path")
test_table = Table(name="PYTEST", schema_="PUBLIC", table_structure=test_table_schema)
test_table_json_blob = Table(name="PYTEST_JSON_BLOB", schema_="PUBLIC", table_structure=TableStructure(columns={"payload": "variant"}))
test_table_json_blob = Table(
name="PYTEST_JSON_BLOB",
schema_="PUBLIC",
table_structure=TableStructure(columns={"payload": "variant"}),
)
json_file_format = InlineFileFormat(definition="TYPE = JSON STRIP_OUTER_ARRAY = TRUE")
storage_integration = "DATA_STAGING"
test_schema = Schema(name="PUBLIC", database="SANDBOX")
Expand Down Expand Up @@ -129,6 +133,7 @@ def test_copy_full_existing_table() -> None:
)
assert result[0][0] == "Copy executed with 0 files processed."


@pytest.mark.snowflake_vcr
def test_copy_json_blob() -> None:
result = test_table_json_blob.copy_into(
Expand Down

0 comments on commit 3163096

Please sign in to comment.