Upload not closing resource correctly

Bug #1539814 reported by Sergio Schvezov on 2016-01-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Medium
Sergio Schvezov

Bug Description

test_upload_files_with_invalid_oauth_session (snapcraft.tests.test_storeapi_upload.UploadFilesTestCase) ... /home/sergiusens/source/github.com/ubuntu-core/snapcraft/snapcraft/tests/test_storeapi_upload.py:282: ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/tmpqtuf_622_0.1_all.snap'>
  response = upload_files(self.binary_file.name)
ok

Changed in snapcraft:
importance: Undecided → Medium
assignee: nobody → Sergio Schvezov (sergiusens)
milestone: none → 2.1
summary: - Test not closing resource correctly
+ Upload not closing resource correctly
Changed in snapcraft:
status: New → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers