kopia lustrzana https://github.com/Langenfeld/py-gitea
fixed long tests using a non-existent repository
rodzic
6db35aab26
commit
9728169956
|
@ -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
|
Ładowanie…
Reference in New Issue