Skip to content

Commit 1bee8a1

Browse files
committed
properly name tests
1 parent 8d82d30 commit 1bee8a1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/integration/test_writes/test_writes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -916,8 +916,8 @@ def test_sanitize_character_partitioned(catalog: Catalog) -> None:
916916

917917

918918
@pytest.mark.parametrize("format_version", [1, 2])
919-
def table_write_subset_of_schema(session_catalog: Catalog, arrow_table_with_null: pa.Table, format_version: int) -> None:
920-
identifier = "default.table_append_subset_of_schema"
919+
def test_table_write_subset_of_schema(session_catalog: Catalog, arrow_table_with_null: pa.Table, format_version: int) -> None:
920+
identifier = "default.test_table_write_subset_of_schema"
921921
tbl = _create_table(session_catalog, identifier, {"format-version": format_version}, [arrow_table_with_null])
922922
arrow_table_without_some_columns = arrow_table_with_null.combine_chunks().drop(arrow_table_with_null.column_names[0])
923923
assert len(arrow_table_without_some_columns.columns) < len(arrow_table_with_null.columns)
@@ -928,10 +928,10 @@ def table_write_subset_of_schema(session_catalog: Catalog, arrow_table_with_null
928928

929929

930930
@pytest.mark.parametrize("format_version", [1, 2])
931-
def table_write_out_of_order_schema(session_catalog: Catalog, arrow_table_with_null: pa.Table, format_version: int) -> None:
931+
def test_table_write_out_of_order_schema(session_catalog: Catalog, arrow_table_with_null: pa.Table, format_version: int) -> None:
932932
import random
933933

934-
identifier = "default.table_write_out_of_order_schema"
934+
identifier = "default.test_table_write_out_of_order_schema"
935935
shuffled_schema = pa.schema(random.shuffle(arrow_table_with_null.schema))
936936

937937
tbl = _create_table(session_catalog, identifier, {"format-version": format_version}, schema=shuffled_schema)

0 commit comments

Comments
 (0)