Skip to content

Commit 634bee2

Browse files
committed
test
1 parent ffb73ae commit 634bee2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

delta_backend/tests/test_convert_to_flat_json.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,19 @@ def setUp(self):
6565
},
6666
],
6767
)
68+
self.logger_info_patcher = patch("logging.Logger.info")
69+
self.mock_logger_info = self.logger_info_patcher.start()
70+
71+
self.logger_exception_patcher = patch("logging.Logger.exception")
72+
self.mock_logger_exception = self.logger_exception_patcher.start()
73+
74+
def tearDown(self):
75+
"""Tear down the mock DynamoDB table."""
76+
self.table.delete()
77+
self.dynamodb_resource = None
78+
# self.firehose_logger_patcher.stop()
79+
self.logger_exception_patcher.stop()
80+
self.logger_info_patcher.stop()
6881

6982
@staticmethod
7083
def get_event(event_name="INSERT", operation="operation", supplier="EMIS"):

0 commit comments

Comments
 (0)