MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / test_add_action

Function test_add_action

tests/integration/test_project_editor.py:282–287  ·  view source on GitHub ↗

Adding an action increases actionCount.

(api_client, clean_state)

Source from the content-addressed store, hash-verified

280
281@pytest.mark.project
282def test_add_action(api_client, clean_state):
283 """Adding an action increases actionCount."""
284 before = _status(api_client).get("actionCount", 0)
285 api_client.add_action()
286
287 assert _status(api_client).get("actionCount", 0) == before + 1
288
289
290@pytest.mark.project

Callers

nothing calls this directly

Calls 3

add_actionMethod · 0.80
_statusFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected