Ask for confirm in default account creation. Resolves #1523

This commit is contained in:
Griatch 2021-10-08 22:46:50 +02:00
parent 1a581162bc
commit e4013dbdb8
4 changed files with 17 additions and 0 deletions

View file

@ -118,6 +118,7 @@ def c_login(client):
# teleport it (to keep the login room clean)
cmds = (
f"create {cname} {cpwd}",
f"yes", # to confirm creation
f"connect {cname} {cpwd}",
f"dig {room_name}",
f"teleport {room_name}",

View file

@ -45,6 +45,7 @@ class TestDummyrunnerSettings(TestCase):
c_login(self.client),
(
Something, # create
'yes', # confirm creation
Something, # connect
"dig %s" % self.client.start_room,
"teleport %s" % self.client.start_room,