Skip to content

Commit 59215e9

Browse files
committed
NRL-1132 check if length is equal to or more
1 parent 03ed227 commit 59215e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/smoke/scenarios/consumer_count_search_read.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,17 @@ def test_consumer_count_search_read(
5151
{"subject:identifier": f"{NHS_NUMBER_SYSTEM_URL}|{patient_id}"}
5252
)
5353
assert count_response.ok
54-
assert count_response.json()["total"] == len(test_pointers)
54+
assert count_response.json()["total"] >= len(test_pointers)
5555

5656
# Search
5757
search_response = consumer_client.search(patient_id)
5858
assert search_response.ok
59-
assert search_response.json()["total"] == len(test_pointers)
59+
assert search_response.json()["total"] >= len(test_pointers)
6060

6161
# Search with POST
6262
search_response = consumer_client.search_post(patient_id)
6363
assert search_response.ok
64-
assert search_response.json()["total"] == len(test_pointers)
64+
assert search_response.json()["total"] >= len(test_pointers)
6565

6666
# Read
6767
read_response = consumer_client.read(test_pointers[0].id)

0 commit comments

Comments
 (0)