MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / test_list

Method test_list

unit-tests/test_command_folder.py:18–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

16 mock.patch.stopall()
17
18 def test_list(self):
19 params = get_synced_params()
20
21 cmd = folder.FolderListCommand()
22 with mock.patch('builtins.print'), mock.patch('keepercommander.api.get_record_shares'):
23 cmd.execute(params)
24 cmd.execute(params, detail=True)
25
26 def test_list_json_no_ansi_colors(self):
27 """Test that ls command with JSON format doesn't include ANSI color codes."""

Callers

nothing calls this directly

Calls 2

executeMethod · 0.95
get_synced_paramsFunction · 0.90

Tested by

no test coverage detected