From 03ae84a60b0005ef823fa0963341d0f184330429 Mon Sep 17 00:00:00 2001 From: Pete Jemian Date: Wed, 11 Dec 2024 13:24:54 -0600 Subject: [PATCH] TST #14 timezone testing should be local only --- apsbss/tests/test_bss_is.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apsbss/tests/test_bss_is.py b/apsbss/tests/test_bss_is.py index c8148bf..3e5bc5b 100644 --- a/apsbss/tests/test_bss_is.py +++ b/apsbss/tests/test_bss_is.py @@ -78,8 +78,10 @@ def test_IS_BeamtimeRequest(): assert info["Proposal Title"] == btr.title assert info["Proposal PUP"] == 57504 assert "capillary gas flow detector system;" in info["Equipment"] - assert info["Start time"] == "2022-05-24 08:00:00-05:00" - assert info["End time"] == "2022-10-01 00:00:00-05:00" + if is_aps_workstation(): + # timezones are different in github CI testing + assert info["Start time"] == "2022-05-24 08:00:00-05:00" + assert info["End time"] == "2022-10-01 00:00:00-05:00" assert info["Users"] == list(map(str, btr._users)) # [str(u) for u in btr._users] assert btr.pi == str(user)