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")
|
return upload_data(u, DATA, convergence="some convergence string")
|
||||||
d.addCallback(_ready)
|
d.addCallback(_ready)
|
||||||
def _uploaded(results):
|
def _uploaded(results):
|
||||||
uri = results.uri
|
the_uri = results.uri
|
||||||
assert "CHK" in uri
|
assert "CHK" in the_uri
|
||||||
d.addCallback(_uploaded)
|
d.addCallback(_uploaded)
|
||||||
|
|
||||||
def _check_empty(res):
|
def _check_empty(res):
|
||||||
|
@ -179,8 +179,8 @@ class AssistedUpload(unittest.TestCase):
|
||||||
return upload_data(u, DATA, convergence="test convergence string")
|
return upload_data(u, DATA, convergence="test convergence string")
|
||||||
d.addCallback(_ready)
|
d.addCallback(_ready)
|
||||||
def _uploaded(results):
|
def _uploaded(results):
|
||||||
uri = results.uri
|
the_uri = results.uri
|
||||||
assert "CHK" in uri
|
assert "CHK" in the_uri
|
||||||
d.addCallback(_uploaded)
|
d.addCallback(_uploaded)
|
||||||
|
|
||||||
def _check_empty(res):
|
def _check_empty(res):
|
||||||
|
@ -207,8 +207,8 @@ class AssistedUpload(unittest.TestCase):
|
||||||
return upload_data(u, DATA, convergence="some convergence string")
|
return upload_data(u, DATA, convergence="some convergence string")
|
||||||
d.addCallback(_ready)
|
d.addCallback(_ready)
|
||||||
def _uploaded(results):
|
def _uploaded(results):
|
||||||
uri = results.uri
|
the_uri = results.uri
|
||||||
assert "CHK" in uri
|
assert "CHK" in the_uri
|
||||||
d.addCallback(_uploaded)
|
d.addCallback(_uploaded)
|
||||||
|
|
||||||
def _check_empty(res):
|
def _check_empty(res):
|
||||||
|
|
Loading…
Reference in New Issue