]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - src/allmydata/test/test_stats.py
util: move PollMixin to a separate file (pollmixin.py), so testutil can be moved...
[tahoe-lafs/tahoe-lafs.git] / src / allmydata / test / test_stats.py
index 262866931e6f631ea9854d79b793bcba32c70e97..4cf4d8a55968feca5cc1fbdd90bd21142119bfae 100644 (file)
@@ -2,13 +2,13 @@
 from twisted.trial import unittest
 from twisted.application import service
 from allmydata.stats import CPUUsageMonitor
-from allmydata.util import testutil
+from allmydata.util import testutil, pollmixin
 
 class FasterMonitor(CPUUsageMonitor):
     POLL_INTERVAL = 0.1
 
 
-class CPUUsage(unittest.TestCase, testutil.PollMixin, testutil.StallMixin):
+class CPUUsage(unittest.TestCase, pollmixin.PollMixin, testutil.StallMixin):
     def setUp(self):
         self.s = service.MultiService()
         self.s.startService()