'''
Created on 20.04.15

@author = mharder
'''

from __future__ import division, print_function

from bonfire.utils import api_from_config, api_from_host

def test_api_from_host():
    host = "test_host"
    port = 1235
    user = "test"
    api = api_from_host(host, port, user)

    assert api.host == host
    assert api.port == port
    assert api.username == user
@@ -227,24 +227,44 @@
 er = %22test%22%0A
+    scheme = False %0A
     api = ap
@@ -291,16 +291,24 @@
 rt, user
+, scheme
 )%0A%0A    a
@@ -385,12 +385,13 @@
 name == user
+%0A

fix travis