From: Naoki Kambe Date: Tue, 9 Apr 2013 12:16:24 +0000 (+0900) Subject: [2252] update a fake class name to camel convention including a typo fix X-Git-Tag: bind10-1.2.0beta1-release~474^2~4^2~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1cef6595d167a14adcec8674ec51d6059baa06fc;p=thirdparty%2Fkea.git [2252] update a fake class name to camel convention including a typo fix --- diff --git a/src/bin/xfrin/tests/xfrin_test.py b/src/bin/xfrin/tests/xfrin_test.py index 8e63168de3..63bac1bd4c 100644 --- a/src/bin/xfrin/tests/xfrin_test.py +++ b/src/bin/xfrin/tests/xfrin_test.py @@ -2135,10 +2135,10 @@ class TestStatisticsXfrinConn(TestXfrinConnection): self.__orig_start_timer = isc.statistics.counters._start_timer time1 = datetime(2000, 1, 1, 0, 0, 0, 0) time2 = datetime(2000, 1, 1, 0, 0, 0, 1) - class fakedatatime: + class FakeDateTime: @classmethod def now(cls): return time2 - isc.statistics.counters.datetime = fakedatatime + isc.statistics.counters.datetime = FakeDateTime isc.statistics.counters._start_timer = lambda : time1 delta = time2 - time1 self._const_sec = round(delta.days * 86400 + delta.seconds +