File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
meilisearch/tests/settings Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,8 @@ def test_update_filterable_attributes(empty_index):
13
13
index = empty_index ()
14
14
response = index .update_filterable_attributes (FILTERABLE_ATTRIBUTES )
15
15
index .wait_for_pending_update (response ['updateId' ])
16
- get_attributes_new = index .get_filterable_attributes ()
17
- assert len (get_attributes_new ) == len (FILTERABLE_ATTRIBUTES )
18
16
get_attributes = index .get_filterable_attributes ()
17
+ assert len (get_attributes ) == len (FILTERABLE_ATTRIBUTES )
19
18
for attribute in FILTERABLE_ATTRIBUTES :
20
19
assert attribute in get_attributes
21
20
@@ -44,9 +43,8 @@ def test_reset_filterable_attributes(empty_index):
44
43
update = index .wait_for_pending_update (response ['updateId' ])
45
44
assert update ['status' ] == 'processed'
46
45
# Check the settings have been correctly updated
47
- get_attributes_new = index .get_filterable_attributes ()
48
- assert len (get_attributes_new ) == len (FILTERABLE_ATTRIBUTES )
49
46
get_attributes = index .get_filterable_attributes ()
47
+ assert len (get_attributes ) == len (FILTERABLE_ATTRIBUTES )
50
48
for attribute in FILTERABLE_ATTRIBUTES :
51
49
assert attribute in get_attributes
52
50
# Check the reset of the settings
You can’t perform that action at this time.
0 commit comments