We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2888c3 commit 87a70c4Copy full SHA for 87a70c4
awsbatch-cli/tests/conftest.py
@@ -62,8 +62,8 @@ def _convert_to_date_utc(*args, **kwargs):
62
63
# executes convert_to_date but overrides arguments so that timezone is enforced to utc
64
if "timezone" in kwargs:
65
- del kwargs["timezone"]
66
- return convert_to_date(timezone=tz.tzutc(), *args, **kwargs)
+ kwargs["timezone"] = tz.tzutc()
+ return convert_to_date(*args, **kwargs)
67
68
return mocker.patch("awsbatch." + module_under_test + ".convert_to_date", wraps=_convert_to_date_utc)
69
0 commit comments