UT: Add test cases for AgentSignal resource's POST

This commit is contained in:
Shreya Malviya 2022-09-23 17:20:53 +05:30 committed by Mike Salvatore
parent 24210d4f6f
commit 28c3cf581f
1 changed files with 2 additions and 0 deletions

View File

@ -64,6 +64,8 @@ def test_agent_signals_terminate_all_post(flask_client):
{},
{"wrong_key": TIMESTAMP_1},
TIMESTAMP_1,
{"terminate_time": 0},
{"terminate_time": -1},
],
)
def test_agent_signals_terminate_all_post__invalid_timestamp(flask_client, bad_data):