Skip to content

Commit 45f30e3

Browse files
author
Saimon Michelson
committed
mock permission verification to pass ut
1 parent c722b9b commit 45f30e3

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

tests/ut/core/user/base_user.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ def setUp(self):
1313
self._services = ServicesPortal("")
1414
self._base = '/ServicesPortal/webdav'
1515
self._task_reference = 'servers/MainDB/bgTasks/918908'
16+
self.patch_call('cterasdk.cio.core.commands.raise_or_suppress_access_error')
1617

1718
@staticmethod
1819
def encode_path(path):

tests/ut/core/user/test_browser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def setUp(self):
1818
self.directory_path = 'a/b c/d'
1919
self.filename = 'Document.txt'
2020
self.new_filename = 'Summary.txt'
21+
self.patch_call('cterasdk.cio.core.commands.raise_or_suppress_access_error')
2122

2223
def test_versions(self):
2324
directory = 'Users/John Smith/My Files'

0 commit comments

Comments
 (0)