Upload not closing resource correctly

Bug #1539814 reported by Sergio Schvezov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.