diff --git a/github/apimock.py b/github/apimock.py index d502402..781c8e8 100644 --- a/github/apimock.py +++ b/github/apimock.py @@ -56,32 +56,22 @@ testMock = [ ] def createRepository(repositoryName): - print("Creating repository: " + repositoryName) - return True + pass def deleteRepository(repositoryName): - print("Deleting repository: " + repositoryName) - return True + pass def listRepositories(): - print("Listing repositories: " + str(repositoriesMock)) - return True + return repositoriesMock def listRepositoryIssues(repositoryName): - print("Listing issues for repository: " + repositoryName) - print(issuesMock) - return True + return issuesMock def listRepositoryPullRequests(repositoryName): - print("Listing pull requests for repository: " + repositoryName) - print(pullRequestMock) - return True + return pullRequestMock def listNotifications(): - print("Listing notifications: " + str(notificationsMock)) - return True + return notificationsMock def listRepositoryTests(repositoryName): - print("Listing tests for repository: " + repositoryName) - print(testMock) - return True \ No newline at end of file + return testMock \ No newline at end of file