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

Commit1481e71

Browse files
SjordByron
authored andcommitted
Test that return value of push is a list-like object
1 parent3b82fa3 commit1481e71

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎test/test_remote.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
fixture,
3131
GIT_DAEMON_PORT
3232
)
33-
fromgit.utilimportrmtree,HIDE_WINDOWS_FREEZE_ERRORS
33+
fromgit.utilimportrmtree,HIDE_WINDOWS_FREEZE_ERRORS,IterableList
3434
importos.pathasosp
3535

3636

@@ -128,6 +128,9 @@ def _do_test_fetch_result(self, results, remote):
128128
# END for each info
129129

130130
def_do_test_push_result(self,results,remote):
131+
self.assertIsInstance(results,list)
132+
self.assertIsInstance(results,IterableList)
133+
131134
self.assertGreater(len(results),0)
132135
self.assertIsInstance(results[0],PushInfo)
133136
forinfoinresults:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp