Mattwmaster58
commited on
Commit
·
bfad7f8
1
Parent(s):
de6c1b0
fix testing of non numeric values
Browse files- tests/test_query.py +1 -1
tests/test_query.py
CHANGED
@@ -120,7 +120,7 @@ def test_order_by_ascending(cipher_signature):
|
|
120 |
s.mime_type for s in cipher_signature.streams
|
121 |
.filter(progressive=True)
|
122 |
.order_by('mime_type')
|
123 |
-
.
|
124 |
.all()
|
125 |
]
|
126 |
assert mime_types == ['video/3gpp', 'video/3gpp', 'video/mp4', 'video/mp4', 'video/webm']
|
|
|
120 |
s.mime_type for s in cipher_signature.streams
|
121 |
.filter(progressive=True)
|
122 |
.order_by('mime_type')
|
123 |
+
.asc()
|
124 |
.all()
|
125 |
]
|
126 |
assert mime_types == ['video/3gpp', 'video/3gpp', 'video/mp4', 'video/mp4', 'video/webm']
|