From 951889a079e1b9316244d58859d3e84313fa371b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez-Mondrag=C3=B3n?= Date: Fri, 29 Nov 2024 17:47:05 -0600 Subject: [PATCH] Use `add_record_metadata` with hard delete --- tests/samples/test_target_sqlite.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/samples/test_target_sqlite.py b/tests/samples/test_target_sqlite.py index 69921b5f84..adc7b455b2 100644 --- a/tests/samples/test_target_sqlite.py +++ b/tests/samples/test_target_sqlite.py @@ -50,7 +50,13 @@ def sqlite_sample_target(sqlite_target_test_config): @pytest.fixture def sqlite_sample_target_hard_delete(sqlite_target_test_config): """Get a sample target object with hard_delete disabled.""" - return SQLiteTarget(config={**sqlite_target_test_config, "hard_delete": True}) + return SQLiteTarget( + config={ + **sqlite_target_test_config, + "hard_delete": True, + "add_record_metadata": False, + } + ) @pytest.fixture