fix: 全件テストのログ検査で失敗していたので修正

This commit is contained in:
shimoda.m@nds-tyo.co.jp 2022-08-19 12:00:26 +09:00
parent 9fd4392f0e
commit 11a3191727

View File

@ -220,10 +220,8 @@ def assert_upload_fetch_datetime_process_log(log_messages, target_object_name, i
assert f'I-UPD-01 [{target_object_name}] の前回取得日時ファイルの更新処理を開始します' in log_messages
if is_all:
assert f'I-UPD-02 [{target_object_name}] の前回取得日時ファイルの更新処理をスキップします' in log_messages
assert f'I-UPD-04 [{target_object_name}] の前回取得日時ファイルの更新処理を終了します' not in log_messages
else:
assert f'I-UPD-02 [{target_object_name}] の前回取得日時ファイルの更新処理をスキップします' not in log_messages
assert f'I-UPD-04 [{target_object_name}] の前回取得日時ファイルの更新処理を終了します' in log_messages
return
assert f'I-UPD-04 [{target_object_name}] の前回取得日時ファイルの更新処理を終了します' in log_messages
def assert_file_exist(s3_client, bucket_name, file_key):