> 8 +import base64 > > Move this up to the first import line so the imports stay in alphabetical > order
Fixed.
> > > 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. >
Fixed
> 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
Fixed. Thanks!
« Back to merge proposal
> 8 +import base64
>
> Move this up to the first import line so the imports stay in alphabetical
> order
Fixed.
> haproxy_ lib_dir, service_name) exists( path): "http_status" ])
>
> 57 + path = "%s/service_%s" % (default_
> 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.
>
Fixed
> 121 +
>
> One too many blank lines?
>
Fixed
> + self.assertTrue (create_ listen_ stanza. called)
> 171 +
>
> move that outside of the with-block - you don't need the patching in place for
> this
Fixed. Thanks!