mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-11 20:11:47 +00:00
pyflakes cleanups
This commit is contained in:
@ -1,10 +1,7 @@
|
|||||||
import sys
|
import sys
|
||||||
import time
|
from os.path import join
|
||||||
import shutil
|
|
||||||
from os import mkdir, unlink, listdir
|
|
||||||
from os.path import join, exists
|
|
||||||
|
|
||||||
from twisted.internet import defer, reactor, task
|
from twisted.internet import task
|
||||||
from twisted.internet.error import ProcessTerminated
|
from twisted.internet.error import ProcessTerminated
|
||||||
|
|
||||||
import util
|
import util
|
||||||
@ -15,8 +12,7 @@ import pytest
|
|||||||
@pytest.inlineCallbacks
|
@pytest.inlineCallbacks
|
||||||
def test_upload_immutable(reactor, temp_dir, introducer_furl, flog_gatherer, storage_nodes, request):
|
def test_upload_immutable(reactor, temp_dir, introducer_furl, flog_gatherer, storage_nodes, request):
|
||||||
|
|
||||||
# hmm, for some reason this still gets storage enabled ...
|
yield util._create_node(
|
||||||
process = yield util._create_node(
|
|
||||||
reactor, request, temp_dir, introducer_furl, flog_gatherer, "edna",
|
reactor, request, temp_dir, introducer_furl, flog_gatherer, "edna",
|
||||||
web_port="tcp:9983:interface=localhost",
|
web_port="tcp:9983:interface=localhost",
|
||||||
storage=False,
|
storage=False,
|
||||||
@ -34,7 +30,7 @@ def test_upload_immutable(reactor, temp_dir, introducer_furl, flog_gatherer, sto
|
|||||||
# upload a file, which should fail because we have don't have 7
|
# upload a file, which should fail because we have don't have 7
|
||||||
# storage servers (but happiness is set to 7)
|
# storage servers (but happiness is set to 7)
|
||||||
proto = util._CollectOutputProtocol()
|
proto = util._CollectOutputProtocol()
|
||||||
transport = reactor.spawnProcess(
|
reactor.spawnProcess(
|
||||||
proto,
|
proto,
|
||||||
sys.executable,
|
sys.executable,
|
||||||
[
|
[
|
||||||
|
Reference in New Issue
Block a user