key-generator was apparently removed long ago

This commit is contained in:
Jean-Paul Calderone 2020-12-12 17:40:13 -05:00
parent b9e9e55f4e
commit f17a5dfafc
2 changed files with 9 additions and 10 deletions

View File

@ -46,8 +46,7 @@ def get_pid_from_pidfile(pidfile):
def identify_node_type(basedir):
"""
:return unicode: None or one of: 'client', 'introducer', or
'key-generator'
:return unicode: None or one of: 'client' or 'introducer'.
"""
tac = u''
try:
@ -58,7 +57,7 @@ def identify_node_type(basedir):
except OSError:
return None
for t in (u"client", u"introducer", u"key-generator"):
for t in (u"client", u"introducer"):
if t in tac:
return t
return None

View File

@ -144,8 +144,8 @@ class BinTahoe(common_util.SignalMixin, unittest.TestCase, RunBinTahoeMixin):
class CreateNode(unittest.TestCase):
# exercise "tahoe create-node", create-introducer, and
# create-key-generator by calling the corresponding code as a subroutine.
# exercise "tahoe create-node" and "tahoe create-introducer" by calling
# the corresponding code as a subroutine.
def workdir(self, name):
basedir = os.path.join("test_runner", "CreateNode", name)
@ -253,11 +253,11 @@ class CreateNode(unittest.TestCase):
class RunNode(common_util.SignalMixin, unittest.TestCase, pollmixin.PollMixin,
RunBinTahoeMixin):
"""
exercise "tahoe run" for both introducer, client node, and key-generator,
by spawning "tahoe run" as a subprocess. This doesn't get us line-level
coverage, but it does a better job of confirming that the user can
actually run "./bin/tahoe run" and expect it to work. This verifies that
bin/tahoe sets up PYTHONPATH and the like correctly.
exercise "tahoe run" for both introducer and client node, by spawning
"tahoe run" as a subprocess. This doesn't get us line-level coverage, but
it does a better job of confirming that the user can actually run
"./bin/tahoe run" and expect it to work. This verifies that bin/tahoe sets
up PYTHONPATH and the like correctly.
"""
def workdir(self, name):