'Test that the connection class will default to secure (https) even
when the port is an unusual (non 443, 80) number'

def test_secure_connection_unusual_port(self):

    conn = Connection(secure=True, host='localhost', port=8081)
    conn.connect()
    self.assertEqual(conn.connection.host, 'https://localhost:8081')
    conn2 = Connection(url='https://localhost:8081')
    conn2.connect()
    self.assertEqual(conn2.connection.host, 'https://localhost:8081')
