Skip to content

Commit 528b3cf

Browse files
committed
resolve lint and ut
1 parent 1590f9f commit 528b3cf

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

docs/source/UserGuides/Edge/Files.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,4 @@ Asynchronous API
138138
:noindex:
139139

140140
.. automethod:: cterasdk.asynchronous.edge.files.browser.FileBrowser.delete
141-
:noindex:
141+
:noindex:

tests/ut/edge/test_support.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def test_set_debug_level_input_error(self):
2929
self.assertEqual('Invalid debug level', error.exception.message)
3030

3131
def test_get_support_report(self):
32+
cterasdk.settings.io.downloads = '~'
3233
current_datetime = datetime.datetime.now()
3334
handle_response = 'Stream'
3435
self._init_filer(handle_response=handle_response)
@@ -37,4 +38,4 @@ def test_get_support_report(self):
3738
support.Support(self._filer).get_support_report()
3839
self._filer.api.handle.assert_called_once_with('/supportreport')
3940
filename = 'Support-' + current_datetime.strftime('_%Y-%m-%dT%H_%M_%S') + '.zip'
40-
mock_save_file.assert_called_once_with(Path(cterasdk.settings.io.downloads).expanduser(), filename, handle_response)
41+
mock_save_file.assert_called_once_with(Path('~').expanduser(), filename, handle_response)

0 commit comments

Comments
 (0)