diff options
author | Saw-jan <saw.jan.grg3e@gmail.com> | 2022-10-28 07:01:45 +0300 |
---|---|---|
committer | Sawjan Gurung <saw.jan.grg3e@gmail.com> | 2022-11-03 12:09:58 +0300 |
commit | b279d48bf043f39f831824486797b7120f4187d1 (patch) | |
tree | 9c33382e62c142479d46e7193b233b23d159520f | |
parent | 33db85b591421991e2f9355859c5e59c0b72ea52 (diff) |
remove unused libs and vars
-rw-r--r-- | test/gui/shared/scripts/pageObjects/SharingDialog.py | 6 | ||||
-rw-r--r-- | test/gui/shared/steps/steps.py | 5 |
2 files changed, 0 insertions, 11 deletions
diff --git a/test/gui/shared/scripts/pageObjects/SharingDialog.py b/test/gui/shared/scripts/pageObjects/SharingDialog.py index 8be67bef3..852e5be82 100644 --- a/test/gui/shared/scripts/pageObjects/SharingDialog.py +++ b/test/gui/shared/scripts/pageObjects/SharingDialog.py @@ -37,12 +37,6 @@ class SharingDialog: "visible": 1, "window": names.sharingDialog_OCC_ShareDialog, } - SHARED_WITH_ = { - "container": names.sharingDialogUG_scrollArea_QScrollArea, - "name": "sharedWith", - "type": "QLabel", - "visible": 1, - } SHARING_DIALOG = { "type": "QLabel", "unnamed": 1, diff --git a/test/gui/shared/steps/steps.py b/test/gui/shared/steps/steps.py index 1a8021147..3c5a1dbd9 100644 --- a/test/gui/shared/steps/steps.py +++ b/test/gui/shared/steps/steps.py @@ -11,7 +11,6 @@ import requests import builtins import shutil -from objectmaphelper import RegularExpression from pageObjects.AccountConnectionWizard import AccountConnectionWizard from helpers.SetupClientHelper import * from helpers.FilesHelper import buildConflictedRegex @@ -38,7 +37,6 @@ from helpers.SyncHelper import ( # if the IDE fails to reference the script, add the folder in Edit->Preferences->PyDev->Interpreters->Libraries sys.path.append(os.path.realpath('../../../shell_integration/nautilus/')) from syncstate import SocketConnect -import functools socketConnect = None @@ -721,8 +719,6 @@ def step(context): def step(context, filename): expected = "\n".join(context.multiLineText) - namepart = filename.split('.')[0] - extpart = filename.split('.')[1] onlyfiles = [ f for f in listdir(context.userData['currentUserSyncPath']) @@ -1476,7 +1472,6 @@ def step(context): @Then('the collaborators should be listed in the following order:') def step(context): - shareItem = SharingDialog() for index, collaborator in enumerate(context.table[1:], start=1): test.compare( str( |