diff options
author | Tollef Fog Heen <tfheen@err.no> | 2020-07-04 22:03:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-04 22:03:16 +0200 |
commit | 480319843b80dbdbf2bcf3959c14715862fb80ea (patch) | |
tree | a36b4f3528d25bc66c6f8f0e8d0bce307e3f0e0e /_pytest | |
parent | ae1c5705403e497a80c90309a2c7f02d177557ea (diff) | |
download | wee-slack-480319843b80dbdbf2bcf3959c14715862fb80ea.tar.gz |
Set time zone to UTC for unfurl test (#782)
Fixes #781
Diffstat (limited to '_pytest')
-rw-r--r-- | _pytest/test_unfurl.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/_pytest/test_unfurl.py b/_pytest/test_unfurl.py index 480000e..eb8fe27 100644 --- a/_pytest/test_unfurl.py +++ b/_pytest/test_unfurl.py @@ -4,7 +4,9 @@ from datetime import datetime, timedelta import pytest import time import wee_slack +import os +os.environ['TZ'] = 'UTC' @pytest.mark.parametrize('case', ( { |