diff --git a/tests/test_api_longtests.py b/tests/test_api_longtests.py index ea832bc..e527660 100644 --- a/tests/test_api_longtests.py +++ b/tests/test_api_longtests.py @@ -41,8 +41,8 @@ def test_list_repos(instance): def test_list_issue(instance): org = Organization.request(instance, test_org) - repo = Repository.request(instance, org.username, test_repo) - for x in range(0,100): - Issue.create_issue(instance, repo, "TestIssue" + str(x), "We will be to many to be listed") + repo = instance.create_repo(org, test_repo, "Testing a huge number of Issues and how they are listed") + for x in range(0, 100): + Issue.create_issue(instance, repo, "TestIssue" + str(x), "We will be to many to be listed on one page") issues = repo.get_issues() assert len(issues) > 98 \ No newline at end of file