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

Method _make_params

unit-tests/test_command_ksm.py:228–242  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

226 ]
227
228 def _make_params(self):
229 params = MagicMock()
230 params.environment_variables = {}
231 params.enterprise = {
232 'users': [
233 {'username': 'a@x.com', 'data': {'displayname': 'Alice A'}},
234 {'username': 'b@x.com', 'data': {'displayname': 'Bob B'}},
235 ],
236 'licenses': [{
237 'next_billing_date': int(datetime.datetime(2026, 1, 15, 12, 0, 0).timestamp() * 1000),
238 'add_ons': [{'name': 'secrets_manager',
239 'created': int(datetime.datetime(2025, 1, 1).timestamp() * 1000)}],
240 }],
241 }
242 return params
243
244 # ---- unit helpers ----
245

Calls

no outgoing calls

Tested by

no test coverage detected