Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Keeper-Security/Commander
/ MockDeviceGroup
Class
MockDeviceGroup
unit-tests/test_command_device_management.py:41–45 ·
view source on GitHub ↗
Mock device group for testing.
Source
from the content-addressed store, hash-verified
39
40
41
class
MockDeviceGroup:
42
""
"Mock device group for testing."
""
43
44
def
__init__(self, devices):
45
self.devices = devices
46
47
48
class
MockDeviceUserGroup:
Callers
9
test_execute_success_table_format
Method · 0.85
test_execute_success_json_format
Method · 0.85
test_execute_success
Method · 0.85
test_execute_no_matching_devices
Method · 0.85
test_execute_success
Method · 0.85
test_execute_no_matching_device
Method · 0.85
test_execute_success
Method · 0.85
test_execute_success
Method · 0.85
test_execute_no_matching_devices
Method · 0.85
Calls
no outgoing calls
Tested by
9
test_execute_success_table_format
Method · 0.68
test_execute_success_json_format
Method · 0.68
test_execute_success
Method · 0.68
test_execute_no_matching_devices
Method · 0.68
test_execute_success
Method · 0.68
test_execute_no_matching_device
Method · 0.68
test_execute_success
Method · 0.68
test_execute_success
Method · 0.68
test_execute_no_matching_devices
Method · 0.68