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:
parent
f8de336039
commit
45fc3819a2
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue