mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
functional_tests: Fix step definition "When I log out"
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
1 parent
fe02b9f1e3
commit
cd54cd48b8
1 file changed
+3
-1
@@ -34,7 +34,9 @@ def logged_out_user(browser):
|
||||
browser.visit(default_url + '/plinth/accounts/logout/')
|
||||
|
||||
|
||||
log_out = when("I log out")(logged_out_user)
|
||||
@when("I log out")
|
||||
def log_out_user(browser):
|
||||
browser.visit(default_url + '/plinth/accounts/logout/')
|
||||
|
||||
|
||||
@then(parsers.parse('I should be prompted for login'))
|
||||
|
||||
Reference in new issue
Block a user