fixed long tests using a non-existent repository

pull/12/head
Langenfeld 2021-12-13 10:34:25 +01:00
rodzic 6db35aab26
commit 9728169956
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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)
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")
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