From 774f6fa93d302576aaa9d844d0fd5db21aa05b9a Mon Sep 17 00:00:00 2001 From: Sultan Iman Date: Wed, 15 May 2024 15:39:49 +0200 Subject: [PATCH] Revert some formatting changes --- tests/pipeline/test_pipeline.py | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/tests/pipeline/test_pipeline.py b/tests/pipeline/test_pipeline.py index 427d1dff6d..00fb6ffb57 100644 --- a/tests/pipeline/test_pipeline.py +++ b/tests/pipeline/test_pipeline.py @@ -1254,12 +1254,7 @@ def writes_state(): def test_extract_add_tables() -> None: # we extract and make sure that tables are added to schema s = airtable_emojis() - assert list(s.resources.keys()) == [ - "💰Budget", - "📆 Schedule", - "🦚Peacock", - "🦚WidePeacock", - ] + assert list(s.resources.keys()) == ["💰Budget", "📆 Schedule", "🦚Peacock", "🦚WidePeacock"] assert s.resources["🦚Peacock"].compute_table_schema()["resource"] == "🦚Peacock" # only name will be normalized assert s.resources["🦚Peacock"].compute_table_schema()["name"] == "🦚Peacock" @@ -1673,11 +1668,7 @@ def test_pipeline_list_packages() -> None: assert len(load_ids) == 1 # two new packages: for emojis schema and emojis_2 pipeline.extract( - [ - airtable_emojis(), - airtable_emojis(), - airtable_emojis().clone(with_name="emojis_2"), - ] + [airtable_emojis(), airtable_emojis(), airtable_emojis().clone(with_name="emojis_2")] ) load_ids = pipeline.list_extracted_load_packages() assert len(load_ids) == 3