Skip to content

Commit

Permalink
Rename dummy to testkit
Browse files Browse the repository at this point in the history
  • Loading branch information
leo-mazzone committed Feb 26, 2025
1 parent f2aed46 commit 5e7e92a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/client/test_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ def test_select_default_engine(matchbox_api: MockRouter, warehouse_engine: Engin
)

# Set up mocks and test data
dummy_source = source_factory(full_name="test.bar", engine=warehouse_engine)
source = dummy_source.source
testkit = source_factory(full_name="test.bar", engine=warehouse_engine)
source = testkit.source

matchbox_api.get(
f"/sources/{hash_to_base64(source.address.warehouse_hash)}/test.bar"
).mock(return_value=Response(200, content=source.model_dump_json()))

with warehouse_engine.connect() as conn:
dummy_source.data.to_pandas().to_sql(
testkit.data.to_pandas().to_sql(
name="bar",
con=conn,
schema="test",
Expand Down

0 comments on commit 5e7e92a

Please sign in to comment.