8 +import base64
Move this up to the first import line so the imports stay in alphabetical order
57 + path = "%s/service_%s" % (default_haproxy_lib_dir, service_name) 58 + if not os.path.exists(path): 59 + os.makedirs(path) 60 + full_path = "%s/%s.html" % (path, errorfile["http_status"])
Use os.path.join() for the path constructions.
121 +
One too many blank lines?
+ self.assertTrue(create_listen_stanza.called) 171 +
move that outside of the with-block - you don't need the patching in place for this
« Back to merge proposal
8 +import base64
Move this up to the first import line so the imports stay in alphabetical order
57 + path = "%s/service_%s" % (default_ haproxy_ lib_dir, service_name) exists( path): "http_status" ])
58 + if not os.path.
59 + os.makedirs(path)
60 + full_path = "%s/%s.html" % (path, errorfile[
Use os.path.join() for the path constructions.
121 +
One too many blank lines?
+ self.assertTrue (create_ listen_ stanza. called)
171 +
move that outside of the with-block - you don't need the patching in place for this