Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
manual removal - will revert commits shortly
Browse files Browse the repository at this point in the history
  • Loading branch information
justinrlee committed Sep 20, 2017
1 parent 9ed4879 commit 0e31f07
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions tests/test_marathon_lb.py
Original file line number Diff line number Diff line change
Expand Up @@ -3037,37 +3037,6 @@ def test_backend_disabled_and_enablede(self):
'''
self.assertMultiLineEqual(config, expected)

def test_environment_variable_templates(self):
apps = dict()
groups = ['external']
bind_http_https = True
ssl_certs = "/etc/haproxy/mysite.com.pem"
templater = marathon_lb.ConfigTemplater()

config = marathon_lb.config(apps, groups, bind_http_https,
ssl_certs, templater)

os.environ["HAPROXY_HTTP_FRONTEND_HEAD"] = '''
frontend changed_frontend
bind *:80
mode http
'''

expected = self.base_config + '''
frontend changed_frontend
bind *:80
mode http
frontend marathon_http_appid_in
bind *:9091
mode http
frontend marathon_https_in
bind *:443 ssl crt /etc/haproxy/mysite.com.pem
mode http
'''
self.assertMultiLineEqual(config, expected)

class TestFunctions(unittest.TestCase):

def test_json_number(self):
Expand Down

0 comments on commit 0e31f07

Please sign in to comment.