@@ -131,6 +131,7 @@ def test_geocode():
131
131
assert found
132
132
133
133
134
+ @pytest .mark .skip (reason = "v1.1 filter API disabled March 2023" )
134
135
def test_track ():
135
136
tweet = next (T .filter (track = "obama" ))
136
137
json_str = json .dumps (tweet )
@@ -141,6 +142,7 @@ def test_track():
141
142
T .connect ()
142
143
143
144
145
+ @pytest .mark .skip (reason = "v1.1 filter API disabled March 2023" )
144
146
def test_keepalive ():
145
147
for event in T .filter (track = "abcdefghiklmno" , record_keepalive = True ):
146
148
if event == "keep-alive" :
@@ -150,6 +152,7 @@ def test_keepalive():
150
152
T .connect ()
151
153
152
154
155
+ @pytest .mark .skip (reason = "v1.1 filter API disabled March 2023" )
153
156
def test_follow ():
154
157
user_ids = [
155
158
"87818409" , # @guardian
@@ -187,6 +190,7 @@ def test_follow():
187
190
T .connect ()
188
191
189
192
193
+ @pytest .mark .skip (reason = "v1.1 filter API disabled March 2023" )
190
194
def test_locations ():
191
195
# look for tweets from New York ; the bounding box is larger than NYC
192
196
# so hopefully we'll find one from New York in the first 100?
@@ -207,6 +211,7 @@ def test_locations():
207
211
T .connect ()
208
212
209
213
214
+ @pytest .mark .skip (reason = "v1.1 filter API disabled March 2023" )
210
215
def test_languages ():
211
216
count = 0
212
217
ok = True
@@ -679,6 +684,7 @@ def test_http_error_sample():
679
684
next (t .sample ())
680
685
681
686
687
+ @pytest .mark .skip (reason = "v1.1 filter API disabled March 2023" )
682
688
def test_http_error_filter ():
683
689
t = twarc .Twarc (
684
690
"consumer_key" ,
@@ -814,6 +820,7 @@ def test_csv_retweet_hashtag():
814
820
assert False
815
821
816
822
823
+ @pytest .mark .skip (reason = "v1.1 filter API disabled March 2023" )
817
824
def test_truncated_text ():
818
825
for tweet in T .filter ("tweet" ):
819
826
if tweet ["truncated" ] == True :
0 commit comments