Skip to content

Commit

Permalink
fix the API test for decode()
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauvain Pocentek committed Jan 23, 2016
1 parent 4e21343 commit c22a19e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tools/python_test.py
Expand Up @@ -106,10 +106,11 @@
readme.save(branch_name="master", commit_message="new commit")
readme.delete(commit_message="Removing README")

readme = admin_project.files.create({'file_path': 'README.rst',
'branch_name': 'master',
'content': 'Initial content',
'commit_message': 'New commit'})
admin_project.files.create({'file_path': 'README.rst',
'branch_name': 'master',
'content': 'Initial content',
'commit_message': 'New commit'})
readme = admin_project.files.get(file_path='README.rst', ref='master')
assert(readme.decode() == 'Initial content')

# labels
Expand Down

0 comments on commit c22a19e

Please sign in to comment.