test_client.py, test_drop_upload.py: fix pyflakes warnings.
authordavid-sarah <david-sarah@jacaranda.org>
Wed, 10 Aug 2011 03:45:05 +0000 (20:45 -0700)
committerdavid-sarah <david-sarah@jacaranda.org>
Wed, 10 Aug 2011 03:45:05 +0000 (20:45 -0700)
src/allmydata/test/test_client.py
src/allmydata/test/test_drop_upload.py

index 3e5fdd95aaff52897e18101ed1e222eaa95dda5a..59618fd5734e836370de2e71999ae0b1d77ba701 100644 (file)
@@ -227,7 +227,7 @@ class Basic(testutil.ReallyEqualMixin, unittest.TestCase):
         basedir3 = "test_client.Basic.test_create_drop_uploader3"
         os.mkdir(basedir3)
         fileutil.write(os.path.join(basedir3, "tahoe.cfg"), config)
-        c3 = client.Client(basedir3)
+        client.Client(basedir3)
         self.failUnless([True for arg in mock_log_msg.call_args_list if "Boom" in repr(arg) and "something wrong" in repr(arg)],
                         mock_log_msg.call_args_list)
 
index 4f3007d84fd348d719883d70182942eed97fa721..30ff8811dc020828c5e2c08f4f1498d4b1c2abc2 100644 (file)
@@ -2,12 +2,12 @@
 import os, sys
 
 from twisted.trial import unittest
-from twisted.python import filepath, runtime, log
+from twisted.python import filepath, runtime
 from twisted.internet import defer
 
 from allmydata.interfaces import IDirectoryNode, NoSuchChildError
 
-from allmydata.util import fileutil, fake_inotify
+from allmydata.util import fake_inotify
 from allmydata.util.encodingutil import get_filesystem_encoding
 from allmydata.util.consumer import download_to_data
 from allmydata.test.no_network import GridTestMixin