We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffb73ae commit 634bee2Copy full SHA for 634bee2
delta_backend/tests/test_convert_to_flat_json.py
@@ -65,6 +65,19 @@ def setUp(self):
65
},
66
],
67
)
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()
81
82
@staticmethod
83
def get_event(event_name="INSERT", operation="operation", supplier="EMIS"):
0 commit comments