1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-12-24 00:31:11 +02:00

remove timezone updates within tests - should be done by tester before running tests

This commit is contained in:
Kelly Brazil
2024-04-28 12:01:50 -07:00
parent 2dcf0e2d1b
commit d5398c7089
16 changed files with 0 additions and 113 deletions

View File

@@ -1,17 +1,10 @@
import os
import sys
import time
import json
import unittest
import jc.parsers.rsync_s
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
# Set the timezone on POSIX systems. Need to manually set for Windows tests
if not sys.platform.startswith('win32'):
os.environ['TZ'] = 'America/Los_Angeles'
time.tzset()
# To create streaming output use:
# $ cat rsync.out | jc --rsync-s | jello -c > rsync-streaming.json