From d0e64b40ac0d4cd44fda1e4d942cc4fdccdffca9 Mon Sep 17 00:00:00 2001 From: "shimoda.m@nds-tyo.co.jp" Date: Wed, 17 Aug 2022 16:10:40 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=82=A2=E3=82=B5=E3=83=BC=E3=82=B7?= =?UTF-8?q?=E3=83=A7=E3=83=B3=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecs/crm-datafetch/tests/test_set_datetime_period_process.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ecs/crm-datafetch/tests/test_set_datetime_period_process.py b/ecs/crm-datafetch/tests/test_set_datetime_period_process.py index 87a44a30..6315bb7b 100644 --- a/ecs/crm-datafetch/tests/test_set_datetime_period_process.py +++ b/ecs/crm-datafetch/tests/test_set_datetime_period_process.py @@ -59,6 +59,8 @@ class TestSetDatetimePeriodProcess: # 返り値の期待値チェック assert isinstance(actual_last_fetch_datetime, LastFetchDatetime), '最終取得日時オブジェクトクラスのインスタンスが返却される' + assert actual_last_fetch_datetime.last_fetch_datetime_from == '1999-01-01T00:00:00.000Z' + assert actual_last_fetch_datetime.last_fetch_datetime_to == '2100-12-31T23:59:59.000Z' # ログの確認 assert generate_log_message_tuple(log_message='I-DATE-01 [Account] のデータ取得期間設定処理を開始します') in caplog.record_tuples