def test_get_marathon_lb_urls(self): marathon_lb_urls = zdd.get_marathon_lb_urls(Arguments()) assert 'http://127.0.0.1:9090' in marathon_lb_urls assert 'http://127.0.0.2:9090' in marathon_lb_urls assert 'http://127.0.0.3:9090' not in marathon_lb_urls
def run(args): marathon_lb_urls = zdd.get_marathon_lb_urls(args) assert 'http://127.0.0.1:9090' in marathon_lb_urls assert 'http://127.0.0.2:9090' in marathon_lb_urls assert 'http://127.0.0.3:9090' not in marathon_lb_urls