Skip to content

Commit

Permalink
retrigger builds
Browse files Browse the repository at this point in the history
  • Loading branch information
kebringer-cb committed Sep 25, 2023
1 parent f933df9 commit ced1dc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/unit/platform/test_alertsv7_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ def test_query_set_remote_is_private(cbcsdk_mock):
def on_post(url, body, **kwargs):
assert body == {
"criteria": {
"remote_is_private": False
"remote_is_private": True
},
"query": "",
"rows": 1,
Expand All @@ -959,6 +959,6 @@ def on_post(url, body, **kwargs):
cbcsdk_mock.mock_request('POST', "/api/alerts/v7/orgs/test/alerts/_search", on_post)
api = cbcsdk_mock.api

query = api.select(Alert).set_remote_is_private(False).set_rows(1)
query = api.select(Alert).set_remote_is_private(True).set_rows(1)
len(query)
# no assertions, the check is that the post request is formed correctly.

0 comments on commit ced1dc4

Please sign in to comment.