File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
graphene_sqlalchemy/tests Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -233,8 +233,7 @@ def test_one_to_one(session_factory):
233
233
'articles.headline AS articles_headline, '
234
234
'articles.pub_date AS articles_pub_date \n '
235
235
'FROM articles \n '
236
- 'WHERE articles.reporter_id IN (?, ?) '
237
- 'ORDER BY articles.reporter_id' ,
236
+ 'WHERE articles.reporter_id IN (?, ?)' ,
238
237
'(1, 2)'
239
238
]
240
239
@@ -337,8 +336,7 @@ def test_one_to_many(session_factory):
337
336
'articles.headline AS articles_headline, '
338
337
'articles.pub_date AS articles_pub_date \n '
339
338
'FROM articles \n '
340
- 'WHERE articles.reporter_id IN (?, ?) '
341
- 'ORDER BY articles.reporter_id' ,
339
+ 'WHERE articles.reporter_id IN (?, ?)' ,
342
340
'(1, 2)'
343
341
]
344
342
@@ -470,7 +468,7 @@ def test_many_to_many(session_factory):
470
468
'JOIN association AS association_1 ON reporters_1.id = association_1.reporter_id '
471
469
'JOIN pets ON pets.id = association_1.pet_id \n '
472
470
'WHERE reporters_1.id IN (?, ?) '
473
- 'ORDER BY reporters_1.id, pets.id' ,
471
+ 'ORDER BY pets.id' ,
474
472
'(1, 2)'
475
473
]
476
474
You can’t perform that action at this time.
0 commit comments