]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2252] update a fake class name to camel convention including a typo fix
authorNaoki Kambe <kambe@jprs.co.jp>
Tue, 9 Apr 2013 12:16:24 +0000 (21:16 +0900)
committerNaoki Kambe <kambe@jprs.co.jp>
Thu, 11 Apr 2013 04:08:42 +0000 (13:08 +0900)
src/bin/xfrin/tests/xfrin_test.py

index 8e63168de33664e4a2a4715d587eca6a397b42a8..63bac1bd4c52e6bed03681229404fed2609ae80a 100644 (file)
@@ -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 +