Skip to content

Commit 8268181

Browse files
committed
Enable pages_since test
1 parent 89680c6 commit 8268181

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/test_api.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ def test_page():
105105
if len(files := wiki.page_files(page_id)) > 0:
106106
assert isinstance(files[0]['path'], str)
107107
# XXX waiting on propagation
108-
# timestamp = 1500000000
109-
# pages_since_then = wiki.pages_since(timestamp)
110-
# print(pages_since_then)
111-
# assert all(page['metadata']['wd_page_created_at'] >= timestamp
112-
# for page in pages_since_then)
108+
timestamp = 1500000000
109+
pages_since_then = wiki.pages_since(timestamp)
110+
print(pages_since_then)
111+
assert all(page['metadata']['wd_page_created_at'] >= timestamp
112+
for page in pages_since_then)
113113

114114

115115
def test_revisions():

0 commit comments

Comments
 (0)