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

Commitc22a19e

Browse files
author
Gauvain Pocentek
committed
fix the API test for decode()
1 parent4e21343 commitc22a19e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

‎tools/python_test.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,11 @@
106106
readme.save(branch_name="master",commit_message="new commit")
107107
readme.delete(commit_message="Removing README")
108108

109-
readme=admin_project.files.create({'file_path':'README.rst',
110-
'branch_name':'master',
111-
'content':'Initial content',
112-
'commit_message':'New commit'})
109+
admin_project.files.create({'file_path':'README.rst',
110+
'branch_name':'master',
111+
'content':'Initial content',
112+
'commit_message':'New commit'})
113+
readme=admin_project.files.get(file_path='README.rst',ref='master')
113114
assert(readme.decode()=='Initial content')
114115

115116
# labels

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp