Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSaw-jan <saw.jan.grg3e@gmail.com>2022-09-05 11:14:20 +0300
committerSawjan Gurung <saw.jan.grg3e@gmail.com>2022-09-06 09:28:11 +0300
commita80727396a9887b9b46d1c013c656292913838bc (patch)
treea59f250df3af6faa26f0f48db2b9bad8d76dc53f /test
parent8f382d0f32167aeab50c043c47dbbd273ffa6f07 (diff)
fix python style
Diffstat (limited to 'test')
-rw-r--r--test/gui/shared/scripts/bdd_hooks.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/gui/shared/scripts/bdd_hooks.py b/test/gui/shared/scripts/bdd_hooks.py
index 9186bd9f0..25e272292 100644
--- a/test/gui/shared/scripts/bdd_hooks.py
+++ b/test/gui/shared/scripts/bdd_hooks.py
@@ -96,13 +96,14 @@ def hook(context):
context.userData[key] = value.rstrip('/') + '/'
# set owncloud config file path
- context.userData['clientConfigFile'] = os.path.join(context.userData['clientConfigDir'], 'owncloud.cfg')
+ context.userData['clientConfigFile'] = os.path.join(
+ context.userData['clientConfigDir'], 'owncloud.cfg'
+ )
if os.path.exists(context.userData['clientConfigDir']):
# clean previous configs
shutil.rmtree(context.userData['clientConfigDir'])
os.makedirs(context.userData['clientConfigDir'], 0o0755)
-
# initially set user sync path to root
# this path will be changed according to the user added to the client
# e.g.: /tmp/client-bdd/Alice