File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -222,8 +222,8 @@ def test_order_by_multiple_properties(self, conn):
222222 result = conn .execute (text ("SELECT * FROM users ORDER BY name ASC, age DESC" ))
223223 data = result .all ()
224224 assert len (data ) == 3 , "Expected 3 rows ordered by name ASC, age DESC"
225- assert data [0 ].name == "Travis 'Ghost' Hayes "
226- assert data [1 ].name == "Elmerulia Frixell "
225+ assert data [0 ].name == "Elmerulia Frixell "
226+ assert data [1 ].name == "Travis 'Ghost' Hayes "
227227 assert data [2 ].name == "Virginia Robertson"
228228
229229 def test_order_by_without_direction (self , conn ):
@@ -299,7 +299,7 @@ def test_key_literal_with_project_and_namespace(self, conn):
299299
300300 def test_array_literal (self , conn ):
301301 """Test ARRAY(value1, value2, ...)"""
302- result = conn .execute (text ("SELECT * FROM users WHERE tags = ARRAY('admin ', 'user ')" ))
302+ result = conn .execute (text ("SELECT * FROM users WHERE tags = ARRAY('Wild ', 'house ')" ))
303303 data = result .all ()
304304 assert len (data ) >= 0 , "Expected rows matching ARRAY literal"
305305
You can’t perform that action at this time.
0 commit comments