test failures on Xenial with transport headers

Bug #1551892 reported by Adam Collard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Client
Fix Released
High
Adam Collard

Bug Description

$ trial landscape.broker.tests.test_transport.HTTPTransportTest.test_ssl_verification_positive
landscape.broker.tests.test_transport
  HTTPTransportTest
    test_ssl_verification_positive ... [ERROR]

===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/ubuntu/landscape-client/landscape/broker/tests/test_transport.py", line 107, in got_result
    self.assertEqual(r.request.received_headers["x-computer-id"],
exceptions.AttributeError: Request instance has no attribute 'received_headers'

landscape.broker.tests.test_transport.HTTPTransportTest.test_ssl_verification_positive
-------------------------------------------------------------------------------
Ran 1 tests in 0.125s

FAILED (errors=1)

$ trial landscape.broker.tests.test_transport.HTTPTransportTest.test_ssl_verification_positive
landscape.broker.tests.test_transport
  HTTPTransportTest
    test_ssl_verification_positive ... [ERROR]

===============================================================================
[ERROR]
Traceback (most recent call last):
  File "/home/ubuntu/landscape-client/landscape/broker/tests/test_transport.py", line 107, in got_result
    self.assertEqual(r.request.received_headers["x-computer-id"],
exceptions.AttributeError: Request instance has no attribute 'received_headers'

landscape.broker.tests.test_transport.HTTPTransportTest.test_ssl_verification_positive
-------------------------------------------------------------------------------
Ran 1 tests in 0.125s

FAILED (errors=1)

Tags: squad-gamma

Related branches

Changed in landscape-client:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Adam Collard (adam-collard)
tags: added: kanban squad-gamma
tags: removed: kanban
Changed in landscape-client:
milestone: none → 16.02
status: In Progress → Fix Committed
Changed in landscape-client:
status: Fix Committed → Fix Released
Changed in landscape-client:
milestone: 16.02 → 16.03
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.