Skip to content

Commit e96cbfe

Browse files
committed
Set public access article count lower
The number of articles available publicly can fluctuate. In order for tests to not fail, the number is set lower than what the author's GS profile shows.
1 parent f69a6b5 commit e96cbfe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test_module.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ def test_public_access(self):
533533
"""
534534
author = scholarly.search_author_id("f4KlrXIAAAAJ")
535535
scholarly.fill(author, sections=['basics', 'public_access', 'publications'])
536-
self.assertGreaterEqual(author["public_access"]["available"], 1180)
536+
self.assertGreaterEqual(author["public_access"]["available"], 1150)
537537
self.assertEqual(author["public_access"]["available"],
538538
sum(pub.get("public_access", None) is True for pub in author["publications"]))
539539
self.assertEqual(author["public_access"]["not_available"],

0 commit comments

Comments
 (0)