From 2eac07139eb288cda2dd2d22d191ab3fc1053437 Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Sat, 23 Jan 2016 17:25:06 +0100 Subject: add a decode method for ProjectFile --- tools/python_test.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/python_test.py') diff --git a/tools/python_test.py b/tools/python_test.py index b646116..b1ad953 100644 --- a/tools/python_test.py +++ b/tools/python_test.py @@ -110,6 +110,7 @@ readme = admin_project.files.create({'file_path': 'README.rst', 'branch_name': 'master', 'content': 'Initial content', 'commit_message': 'New commit'}) +assert(readme.decode() == 'Initial content') # labels label1 = admin_project.labels.create({'name': 'label1', 'color': '#778899'}) -- cgit v1.2.1