test_helper: hush pyflakes by avoiding use of 'uri' as a variable, since it shadows an import of the same name

This commit is contained in:
Brian Warner 2009-01-08 20:59:41 -07:00
parent f8de336039
commit 45fc3819a2
1 changed files with 6 additions and 6 deletions

View 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):