#NEWLINE# def test_config_with_multissl_no_apps( self ) : #NEWLINE# #INDENT# apps = dict ( ) #NEWLINE# groups = [ 'external' ] #NEWLINE# bind_http_https = True #NEWLINE# ssl_certs = '/etc/haproxy/mysite1.com.pem,/etc/haproxy/mysite2.com.pem' #NEWLINE# templater = marathon_lb . ConfigTemplater ( ) #NEWLINE# config = marathon_lb . config ( apps , groups , bind_http_https , ssl_certs , apps ) #NEWLINE# expected = ( self . base_config + '\nfrontend marathon_http_in\n  bind *:80\n  mode http\n\nfrontend marathon_http_appid_in\n  bind *:9091\n  mode http\n\nfrontend marathon_https_in\n' ) #NEWLINE# expected += '  bind *:443 ssl crt /etc/haproxy/mysite1.com.pem crt /etc/haproxy/mysite2.com.pem' #NEWLINE# expected += '\n  mode http\n' #NEWLINE# self . assertMultiLineEqual ( config , expected )