<reponame>yaleman/github_linter<gh_stars>0
""" test utils """

from github.Repository import Repository
from github.Requester import Requester

def generate_test_repo() -> Repository:
    """ gets you a test repo """
    test_requester = Requester(
        login_or_token="",
        retry=False,
        password=<PASSWORD>,
        jwt=None,
        base_url="https://github.com/yaleman/github_linter/",
        timeout=30,
        pool_size=10,
        per_page=100,
        user_agent="",
        verify=False,
    ) # type: ignore

    testrepo = Repository(
        test_requester,
        {},
        attributes={"full_name" : "testuser/test1", "name" : "test1"},
        completed=True,
        )
    return testrepo

""" test utils """

from github.Repository import Repository
from github.Requester import Requester

def generate_test_repo() -> Repository:
    """ gets you a test repo """
    test_requester = Requester(
        login_or_token="",
        retry=False,
        password=<PASSWORD>,
        jwt=None,
        base_url="https://github.com/yaleman/github_linter/",
        timeout=30,
        pool_size=10,
        per_page=100,
        user_agent="",
        verify=False,
    ) # type: ignore

    testrepo = Repository(
        test_requester,
        {},
        attributes={"full_name" : "testuser/test1", "name" : "test1"},
        completed=True,
        )
    return testrepo
test utils gets you a test repo # type: ignore