======================================================================
FAIL: test_failed_image_info_just_warns (snapcraft.tests.test_lxd.FailedImageInfoTestCase)
snapcraft.tests.test_lxd.FailedImageInfoTestCase.test_failed_image_info_just_warns (CalledProcessError)
----------------------------------------------------------------------
testtools.testresult.real._StringException: Empty attachments:
pythonlogging:''-1
pythonlogging:''-2
pythonlogging:'': {{{
Failed to get container image info: Command 'testcmd' returned non-zero exit status 1., output: test output
It will not be recorded in manifest.
}}}
Traceback (most recent call last):
File "/tmp/autopkgtest.CriMwt/build.1eN/snapcraft/snapcraft/tests/test_lxd.py", line 669, in test_failed_image_info_just_warns
self.assertEqual(self.fake_logger.output, self.expected_warn)
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 350, in assertEqual
self.assertThat(observed, matcher, message)
File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 435, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = '''\
Failed to get container image info: Command 'testcmd' returned non-zero exit status 1., output: test output
It will not be recorded in manifest.
'''
actual = '''\
Failed to get container image info: Command 'testcmd' returned non-zero exit status 1, output: test output
It will not be recorded in manifest.
'''
----------------------------------------------------------------------