======================================================================
ERROR: test_install_destination_dir_exists (snapcraft.tests.test_plugin_tar_content.TestTarContentPlugin)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/simon/Code/snapcraft/snapcraft/tests/test_plugin_tar_content.py", line 67, in test_install_destination_dir_exists
t.pull()
File "/home/simon/Code/snapcraft/snapcraft/plugins/tar_content.py", line 73, in pull
snapcraft.sources.Tar(self.options.source, self.sourcedir).pull()
File "/home/simon/Code/snapcraft/snapcraft/internal/sources.py", line 118, in pull
self.provision(self.source_dir)
File "/home/simon/Code/snapcraft/snapcraft/internal/sources.py", line 311, in provision
if source_checksum:
NameError: name 'source_checksum' is not defined
======================================================================
ERROR: test_extract_and_keep_zipfile (snapcraft.tests.test_sources.TestZip)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.5/unittest/mock.py", line 1157, in patched
return func(*args, **keywargs)
File "/home/simon/Code/snapcraft/snapcraft/tests/test_sources.py", line 109, in test_extract_and_keep_zipfile
zip_source.provision(dst=dest_dir, keep_zip=True)
File "/home/simon/Code/snapcraft/snapcraft/internal/sources.py", line 377, in provision
if source_checksum:
NameError: name 'source_checksum' is not defined
======================================================================
ERROR: test_pull_zipfile_must_download_and_extract (snapcraft.tests.test_sources.TestZip)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.5/unittest/mock.py", line 1157, in patched
return func(*args, **keywargs)
File "/home/simon/Code/snapcraft/snapcraft/tests/test_sources.py", line 95, in test_pull_zipfile_must_download_and_extract
zip_source.pull()
File "/home/simon/Code/snapcraft/snapcraft/internal/sources.py", line 118, in pull
self.provision(self.source_dir)
File "/home/simon/Code/snapcraft/snapcraft/internal/sources.py", line 377, in provision
if source_checksum:
NameError: name 'source_checksum' is not defined
----------------------------------------------------------------------
Ran 601 tests in 128.525s
FAILED (errors=3)