Ubuntu Pastebin

Paste from kyrofa at Tue, 14 Nov 2017 20:17:01 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
======================================================================
FAIL: test_configure_must_log_info_and_higher (snapcraft.tests.test_log.LogTestCase)
snapcraft.tests.test_log.LogTestCase.test_configure_must_log_info_and_higher
----------------------------------------------------------------------
testtools.testresult.real._StringException: pythonlogging:'': {{{
Test info
Test warning
Test error
Test critical
}}}

Traceback (most recent call last):
  File "/tmp/autopkgtest.WnA8Mh/build.yWF/snapcraft/snapcraft/tests/test_log.py", line 94, in test_configure_must_log_info_and_higher
    self.fake_terminal.getvalue(stderr=True), Equals(expected_err))
  File "/usr/lib/python3/dist-packages/testtools/testcase.py", line 435, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: !=:
reference = '''\
\x1b[0;31mTest error\x1b[0m
\x1b[1;31mTest critical\x1b[0m
'''
actual    = '''\
/usr/lib/python3/dist-packages/fixtures/fixture.py:86: ResourceWarning: unclosed <socket.socket fd=56, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0>
  self._cleanups.push(cleanup, *args, **kwargs)
\x1b[0;31mTest error\x1b[0m
\x1b[1;31mTest critical\x1b[0m
'''


----------------------------------------------------------------------
Ran 2021 tests in 2521.797s
Download as text