Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd57a7f5

Browse files
committed
Revert "Add test for empty blob creation"
This reverts commit266cb8e.
1 parent266cb8e commitd57a7f5

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

‎tests/json/empty_blob

Lines changed: 0 additions & 2 deletions
This file was deleted.

‎tests/test_repos.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -161,21 +161,6 @@ def test_create_blob(self):
161161
assertself.repo.create_blob(content,encoding)==sha
162162
self.mock_assertions()
163163

164-
deftest_create_empty_blob(self):
165-
self.response('empty_blob',201)
166-
content=''
167-
encoding='base64'
168-
sha='e69de29bb2d1d6434b8b29ae775ad8c2e48c5391'
169-
self.post(self.api+'git/blobs')
170-
self.conf= {'data': {'content':content,'encoding':encoding}}
171-
172-
self.assertRaises(github3.GitHubError,self.repo.create_blob,
173-
content,encoding)
174-
175-
self.login()
176-
assertself.repo.create_blob(content,encoding)==sha
177-
self.mock_assertions()
178-
179164
deftest_create_comment(self):
180165
self.response('commit_comment',201)
181166
body= ('Late night commits are never a good idea. I refactored a '

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp