changed return data
This commit is contained in:
parent
e4213a5868
commit
2036a1b855
@ -56,32 +56,22 @@ testMock = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
def createRepository(repositoryName):
|
def createRepository(repositoryName):
|
||||||
print("Creating repository: " + repositoryName)
|
pass
|
||||||
return True
|
|
||||||
|
|
||||||
def deleteRepository(repositoryName):
|
def deleteRepository(repositoryName):
|
||||||
print("Deleting repository: " + repositoryName)
|
pass
|
||||||
return True
|
|
||||||
|
|
||||||
def listRepositories():
|
def listRepositories():
|
||||||
print("Listing repositories: " + str(repositoriesMock))
|
return repositoriesMock
|
||||||
return True
|
|
||||||
|
|
||||||
def listRepositoryIssues(repositoryName):
|
def listRepositoryIssues(repositoryName):
|
||||||
print("Listing issues for repository: " + repositoryName)
|
return issuesMock
|
||||||
print(issuesMock)
|
|
||||||
return True
|
|
||||||
|
|
||||||
def listRepositoryPullRequests(repositoryName):
|
def listRepositoryPullRequests(repositoryName):
|
||||||
print("Listing pull requests for repository: " + repositoryName)
|
return pullRequestMock
|
||||||
print(pullRequestMock)
|
|
||||||
return True
|
|
||||||
|
|
||||||
def listNotifications():
|
def listNotifications():
|
||||||
print("Listing notifications: " + str(notificationsMock))
|
return notificationsMock
|
||||||
return True
|
|
||||||
|
|
||||||
def listRepositoryTests(repositoryName):
|
def listRepositoryTests(repositoryName):
|
||||||
print("Listing tests for repository: " + repositoryName)
|
return testMock
|
||||||
print(testMock)
|
|
||||||
return True
|
|
Loading…
Reference in New Issue
Block a user