Skip to content

Commit e2f548d

Browse files
committed
Fix method name
1 parent be04910 commit e2f548d

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
@@ -594,7 +594,7 @@ def share_file_with_user(filename, sharer, sharee, **kwargs):
594594
return -2
595595

596596

597-
def list_remote_share(sharee):
597+
def list_open_remote_share(sharee):
598598
""" Accepts a remote share
599599
600600
:param sharee: user who created the original share
@@ -603,7 +603,7 @@ def list_remote_share(sharee):
603603

604604
oc_api = get_oc_api()
605605
oc_api.login(sharee, config.oc_account_password)
606-
open_remote_shares = oc_api.list_remote_share()
606+
open_remote_shares = oc_api.list_open_remote_share()
607607

608608
return open_remote_shares
609609

0 commit comments

Comments
 (0)