File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -43,19 +43,21 @@ def test_Collection_modeUpdate(collection):
4343 assert collection .collectionMode == value
4444 with pytest .raises (BadRequest ):
4545 collection .modeUpdate (mode = "bad-mode" )
46+ collection .modeUpdate ("default" )
4647
4748
48- def test_Colletion_sortUpdate (collection ):
49+ def test_Collection_sortUpdate (collection ):
4950 sort_dict = {"release" : 0 , "alpha" : 1 , "custom" : 2 }
5051 for key , value in sort_dict .items ():
5152 collection .sortUpdate (sort = key )
5253 collection .reload ()
5354 assert collection .collectionSort == value
5455 with pytest .raises (BadRequest ):
5556 collection .sortUpdate (sort = "bad-sort" )
57+ collection .sortUpdate ("release" )
5658
5759
58- def test_Colletion_edit (collection ):
60+ def test_Collection_edit (collection ):
5961 edits = {"titleSort.value" : "New Title Sort" , "titleSort.locked" : 1 }
6062 collectionTitleSort = collection .titleSort
6163 collection .edit (** edits )
You can’t perform that action at this time.
0 commit comments