ubuntuone-client tests access real certs

Bug #419970 reported by John O'Brien
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Confirmed
Low
Ubuntu One Client Engineering team

Bug Description

The tests in ubuntuone-client throw the following exception when running tests if you don't have the certs installed. During tests, we should use snakeoil certs.

[ERROR]
    test_handshake_timeout_many ... Traceback (most recent call last):
  File "/home/john/canonical/ubuntuone/ubuntuone-client/bad-bad-symlink/ubuntuone/syncdaemon/action_queue.py", line 845, in _connect
    ssl_context = get_ssl_context(self.disable_ssl_verify)
  File "/home/john/canonical/ubuntuone/ubuntuone-client/bad-bad-symlink/ubuntuone/storageprotocol/context.py", line 29, in get_ssl_context
    '/etc/ssl/certs/UbuntuOne-Go_Daddy_Class_2_CA.pem', 'r').read())
exceptions.IOError: [Errno 2] No such file or directory: '/etc/ssl/certs/UbuntuOne-Go_Daddy_Class_2_CA.pem'
[ERROR]

Tags: desktop+
John O'Brien (jdobrien)
Changed in ubuntuone-client:
importance: Undecided → Low
status: New → Confirmed
tags: added: desktop+
Changed in ubuntuone-client:
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
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.