Skip to content

Commit bccc188

Browse files
committed
Fix method name
1 parent 727d7ac commit bccc188

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/oc-tests/test_remoteShareFile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def sharee_one(step):
167167

168168
# Accept the remote shares for user2
169169
user2 = "%s%i" % (config.oc_account_name, 2)
170-
openShares = list_remote_share(user2)
170+
openShares = list_open_remote_share(user2)
171171
for share in openShares:
172172
accept_remote_share(user2, int(share['id']))
173173
sleep(5)

python/smashbox/utilities/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ def share_file_with_user(filename, sharer, sharee, **kwargs):
691691
return -2
692692

693693

694-
def list_remote_share(sharee):
694+
def list_open_remote_share(sharee):
695695
""" Accepts a remote share
696696
697697
:param sharee: user who created the original share
@@ -700,7 +700,7 @@ def list_remote_share(sharee):
700700

701701
oc_api = get_oc_api()
702702
oc_api.login(sharee, config.oc_account_password)
703-
open_remote_shares = oc_api.list_remote_share()
703+
open_remote_shares = oc_api.list_open_remote_share()
704704

705705
return open_remote_shares
706706

0 commit comments

Comments
 (0)