-#!/usr/bin/env python
-from allmydata.util import iputil, testutil
+from allmydata.util import iputil
from twisted.trial import unittest
-import re, sys
+import re
DOTTED_QUAD_RE=re.compile("^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$")
# from Twisted
from twisted.internet import defer
-from twisted.python import log
from twisted.internet import reactor
from twisted.internet.protocol import DatagramProtocol
from twisted.internet.utils import getProcessOutput
def tearDown(self):
if self.repeatable:
+ import repeatable_random
repeatable_random.restore_non_repeatability()
self.clean_pending(required_to_quiesce=True)