Skip to content

Commit f06ef15

Browse files
committed
tests fix missing feilds
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
1 parent f3bf3e3 commit f06ef15

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

tests/curation_set_test.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ def test_actual_retrieve(
6262
"rule": {
6363
"match": "contains",
6464
"query": "shoe",
65+
"stem": False,
66+
"synonyms": False,
6567
},
6668
"stop_processing": True,
6769
},
@@ -108,6 +110,8 @@ def test_actual_list_items(
108110
"rule": {
109111
"match": "contains",
110112
"query": "shoe",
113+
"stem": False,
114+
"synonyms": False,
111115
},
112116
"stop_processing": True,
113117
},
@@ -140,6 +144,8 @@ def test_actual_get_item(
140144
"rule": {
141145
"match": "contains",
142146
"query": "shoe",
147+
"stem": False,
148+
"synonyms": False,
143149
},
144150
"stop_processing": True,
145151
}
@@ -218,6 +224,8 @@ async def test_actual_retrieve_async(
218224
"rule": {
219225
"match": "contains",
220226
"query": "shoe",
227+
"stem": False,
228+
"synonyms": False,
221229
},
222230
"stop_processing": True,
223231
},
@@ -263,6 +271,8 @@ async def test_actual_list_items_async(
263271
"rule": {
264272
"match": "contains",
265273
"query": "shoe",
274+
"stem": False,
275+
"synonyms": False,
266276
},
267277
"stop_processing": True,
268278
},
@@ -295,6 +305,8 @@ async def test_actual_get_item_async(
295305
"rule": {
296306
"match": "contains",
297307
"query": "shoe",
308+
"stem": False,
309+
"synonyms": False,
298310
},
299311
"stop_processing": True,
300312
}

tests/curation_sets_test.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ def test_actual_upsert(
8787
"rule": {
8888
"match": "contains",
8989
"query": "shoe",
90+
"stem": False,
91+
"synonyms": False,
9092
},
9193
"stop_processing": True,
9294
},
@@ -150,6 +152,8 @@ async def test_actual_upsert_async(
150152
"rule": {
151153
"match": "contains",
152154
"query": "shoe",
155+
"stem": False,
156+
"synonyms": False,
153157
},
154158
"stop_processing": True,
155159
},

0 commit comments

Comments
 (0)