def test_config_gets_correct_host_stable(conf):
    c = Config(conf, "stable")
    assert c.hostname("service") == "http://www.stable.com"
def test_config_gets_correct_host_bad_service(conf):
    c = Config(conf, "stable")
    with pytest.raises(KeyError):
        c.hostname("wrong")
def test_config_gets_correct_host_prod(conf):
    c = Config(conf, "prod")
    assert c.hostname("service") == "http://www.prod.com"