]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_helper: hush pyflakes by avoiding use of 'uri' as a variable, since it shadows...
authorBrian Warner <warner@allmydata.com>
Fri, 9 Jan 2009 03:59:41 +0000 (20:59 -0700)
committerBrian Warner <warner@allmydata.com>
Fri, 9 Jan 2009 03:59:41 +0000 (20:59 -0700)
src/allmydata/test/test_helper.py

index 163b51ec5dae4bace310cf753d3521a75adb8e98..1dff58275768d3bc7a5f6134f83b9bb264cd8bf7 100644 (file)
@@ -129,8 +129,8 @@ class AssistedUpload(unittest.TestCase):
             return upload_data(u, DATA, convergence="some convergence string")
         d.addCallback(_ready)
         def _uploaded(results):
-            uri = results.uri
-            assert "CHK" in uri
+            the_uri = results.uri
+            assert "CHK" in the_uri
         d.addCallback(_uploaded)
 
         def _check_empty(res):
@@ -179,8 +179,8 @@ class AssistedUpload(unittest.TestCase):
             return upload_data(u, DATA, convergence="test convergence string")
         d.addCallback(_ready)
         def _uploaded(results):
-            uri = results.uri
-            assert "CHK" in uri
+            the_uri = results.uri
+            assert "CHK" in the_uri
         d.addCallback(_uploaded)
 
         def _check_empty(res):
@@ -207,8 +207,8 @@ class AssistedUpload(unittest.TestCase):
             return upload_data(u, DATA, convergence="some convergence string")
         d.addCallback(_ready)
         def _uploaded(results):
-            uri = results.uri
-            assert "CHK" in uri
+            the_uri = results.uri
+            assert "CHK" in the_uri
         d.addCallback(_uploaded)
 
         def _check_empty(res):