mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
fix formatting issues
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
fa74a26042
commit
eb83e00011
134 files changed
+598
-720
No files matched your search
@@ -19,7 +19,6 @@ from pytest_bdd import given, parsers, then, when
|
||||
|
||||
from support import config, interface
|
||||
|
||||
|
||||
default_url = config['DEFAULT']['url']
|
||||
|
||||
|
||||
@@ -52,8 +51,8 @@ def new_user_does_not_exist(browser, name):
|
||||
@given(parsers.parse('the user {name:w} exists'))
|
||||
def test_user_exists(browser, name):
|
||||
interface.nav_to_module(browser, 'users')
|
||||
user_link = browser.find_link_by_href(
|
||||
'/plinth/sys/users/' + name + '/edit/')
|
||||
user_link = browser.find_link_by_href('/plinth/sys/users/' + name +
|
||||
'/edit/')
|
||||
if not user_link:
|
||||
create_user(browser, name, 'secret123')
|
||||
|
||||
|
||||
Reference in new issue
Block a user