Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Bodong-Yang committed May 8, 2024
1 parent 0fe6a89 commit 36de4b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_aws_iot_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def test_get_log_stream_name(
_thing_name: str, _suffix: str, _expected: str, mocker: MockerFixture
):
_datetime_mock = mocker.MagicMock(spec=datetime)
_datetime_mock.utcnow.return_value = _UNIX_EPOCH
_datetime_mock.now.return_value = _UNIX_EPOCH
mocker.patch(f"{MODULE}.datetime", _datetime_mock)
assert get_log_stream_name(_thing_name, _suffix) == _expected

Expand Down

0 comments on commit 36de4b1

Please sign in to comment.