diff --git a/plinth/modules/sharing/tests/sharing.feature b/plinth/modules/sharing/tests/sharing.feature index 3d3c16765..fc75661ee 100644 --- a/plinth/modules/sharing/tests/sharing.feature +++ b/plinth/modules/sharing/tests/sharing.feature @@ -32,8 +32,8 @@ Scenario: Remove a share Scenario: Share permissions When I remove share tmp - And I add a share tmp from path /tmp for syncthing - Then the share tmp should be listed from path /tmp for syncthing + And I add a share tmp from path /tmp for syncthing-access + Then the share tmp should be listed from path /tmp for syncthing-access And the share tmp should not be accessible Scenario: Public share diff --git a/plinth/modules/sharing/tests/test_functional.py b/plinth/modules/sharing/tests/test_functional.py index 7ce837e68..0717038ca 100644 --- a/plinth/modules/sharing/tests/test_functional.py +++ b/plinth/modules/sharing/tests/test_functional.py @@ -17,7 +17,7 @@ def remove_share(session_browser, name): _remove_share(session_browser, name) -@when(parsers.parse('I add a share {name:w} from path {path} for {group:w}')) +@when(parsers.parse('I add a share {name:w} from path {path} for {group:S}')) def add_share(session_browser, name, path, group): _add_share(session_browser, name, path, group) @@ -41,7 +41,7 @@ def edit_share_public_access(session_browser, name): @then( parsers.parse( - 'the share {name:w} should be listed from path {path} for {group:w}')) + 'the share {name:w} should be listed from path {path} for {group:S}')) def verify_share(session_browser, name, path, group): _verify_share(session_browser, name, path, group)