Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed uninstanciated variable in test #102

Merged
merged 2 commits into from Feb 4, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/test_api.py
Expand Up @@ -321,7 +321,7 @@ def test_upload_thumbnail_for_task(self):

def test_upload_thumbnail_with_upload_function(self):
"""Upload thumbnail via upload function test"""
size = os.stat(path).st_size
path = os.path.abspath(os.path.expanduser(os.path.join(os.path.dirname(__file__), "sg_logo.jpg")))

# upload thumbnail
thumb_id = self.sg.upload("Task", self.task['id'], path, 'image')
Expand Down