Skip to content

Commit

Permalink
pylint suggested modifications; for arshadkazmi42#83
Browse files Browse the repository at this point in the history
  • Loading branch information
kgashok authored Jun 19, 2022
1 parent 3cb82e6 commit 9da7980
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tests/test_basic.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@

"""
Basic tests for the good-first-issue Twitter Bot
"""
# pylint: disable=E1101
import json
# attribution:
# https://containersolutions.github.io/runbooks/posts/python/module-has-no-attribute/#step-2
from first_timers import first_timers
import json


example_res = json.load(open('data/example.json', 'r'))
example_res = json.load(open('data/example.json', 'r', encoding='utf-8'))
example_issues = example_res['items']


def test_fetcher():
"""Test whether first_timer_issues are getting picked up."""
issue_label = ('good first issue')
new_issues = first_timers.get_first_timer_issues(issue_label)
print("count: ", len(new_issues))
assert new_issues


Expand Down

0 comments on commit 9da7980

Please sign in to comment.