Josh Kearney c1ea298904 Clean up test environment and remove unused imports.
First round of adding more complete unit test coverage.

Change-Id: Ic1979c499ca6fcb784892a95954a3527539c4e53
2013-01-22 11:44:18 -06:00

18 lines
352 B
Python

# vim: tabstop=4 shiftwidth=4 softtabstop=4
import time
import testtools
class TestCase(testtools.TestCase):
def setUp(self):
super(TestCase, self).setUp()
self._original_time = time.time
time.time = lambda: 1234
def tearDown(self):
time.time = self._original_time
super(TestCase, self).tearDown()