We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab99784 commit 0ce7e0bCopy full SHA for 0ce7e0b
test/test_api.py
@@ -131,6 +131,15 @@ def test_forums():
131
wiki = scuttle.scuttle('en', API_KEY, 1)
132
forum_id = wiki.forums()[0]['id']
133
assert wiki.forum(forum_id)['id'] == forum_id
134
+ assert isinstance(wiki.forum_threads(forum_id)[0]['id'], int)
135
+ timestamp = 1500000000
136
+ threads_since_then_gen = wiki.verbose(
137
+ wiki.forum_threads_since, forum_id, timestamp
138
+ )
139
+ for threads_since_then in threads_since_then_gen:
140
+ for thread in threads_since_then:
141
+ assert isinstance(thread['title'], str)
142
+
143
144
145
def test_tags():
0 commit comments