tests: maximum diff between timezones is 27h, +24h

This commit is contained in:
missytake
2025-04-11 00:28:42 +02:00
parent 1fba4a3cdf
commit 046552061e

View File

@@ -60,7 +60,7 @@ class TestSSHExecutor:
datestring = out.split("=")[1]
since_date = datetime.datetime.strptime(datestring, "%a %Y-%m-%d %H:%M:%S %Z")
now = datetime.datetime.now(since_date.tzinfo)
assert (now - since_date).total_seconds() < 60 * 60 * 48
assert (now - since_date).total_seconds() < 60 * 60 * 51
def test_remote(remote, imap_or_smtp):