mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-01 00:45:52 +00:00
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…
x
Reference in New Issue
Block a user