hbmartin commited on
Commit
9a04477
·
1 Parent(s): 306ecb1

add is_dash test

Browse files
Files changed (1) hide show
  1. tests/test_query.py +6 -0
tests/test_query.py CHANGED
@@ -145,3 +145,9 @@ def test_get_by_resolution(cipher_signature):
145
 
146
  def test_get_lowest_resolution(cipher_signature):
147
  assert cipher_signature.streams.get_lowest_resolution().itag == 18
 
 
 
 
 
 
 
145
 
146
  def test_get_lowest_resolution(cipher_signature):
147
  assert cipher_signature.streams.get_lowest_resolution().itag == 18
148
+
149
+
150
+ def test_filter_is_dash(cipher_signature):
151
+ streams = cipher_signature.streams.filter(is_dash=False).all()
152
+ itags = [s.itag for s in streams]
153
+ assert itags == [18, 398, 397, 396, 395, 394]