Home
last modified time | relevance | path

Searched refs:MockDatetime (Results 1 – 5 of 5) sorted by relevance

/external/autotest/frontend/health/
Dcomplete_failures_functional_test.py61 class MockDatetime(datetime.datetime): class
80 self.mox.StubOutWithMock(MockDatetime, 'today')
82 datetime.datetime = MockDatetime
122 MockDatetime.today().AndReturn(self.datetime(2012, 1, 21))
123 MockDatetime.today().AndReturn(self.datetime(2012, 1, 21))
Dpassing_experimental_functional_test.py33 class MockDatetime(datetime.datetime): class
53 self.mox.StubOutWithMock(MockDatetime, 'today')
55 datetime.datetime = MockDatetime
104 MockDatetime.today().AndReturn(self.datetime(2012, 1, 21))
105 MockDatetime.today().AndReturn(self.datetime(2012, 1, 21))
Dcomplete_failures_unittest.py25 class MockDatetime(datetime.datetime): class
153 self.mox.StubOutWithMock(MockDatetime, 'today')
155 datetime.datetime = MockDatetime
257 self.mox.StubOutWithMock(MockDatetime, 'today')
259 datetime.datetime = MockDatetime
Dpassing_experimental_unittest.py23 class MockDatetime(datetime.datetime): class
67 self.mox.StubOutWithMock(MockDatetime, 'today')
69 datetime.datetime = MockDatetime
/external/autotest/server/cros/
Drepair_utils_unittest.py23 class MockDatetime(datetime.datetime): class
48 self.mox.StubOutWithMock(MockDatetime, 'today')
51 datetime.datetime = MockDatetime