MCPcopy Index your code
hub / github.com/coleifer/huey / setUp

Method setUp

huey/tests/test_utils.py:30–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

28
29class TestNormalizeTime(unittest.TestCase):
30 def setUp(self):
31 self._orig_tz = os.environ.get('TZ')
32 os.environ['TZ'] = 'America/Los_Angeles'
33 time.tzset()
34
35 def tearDown(self):
36 del os.environ['TZ']

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected