"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/TestEnv.py" between
mod_md-2.4.2.tar.gz and mod_md-2.4.4.tar.gz

About: mod_md is an Apache module that adds Let's Encrypt (ACME) support.

TestEnv.py  (mod_md-2.4.2):TestEnv.py  (mod_md-2.4.4)
skipping to change at line 155 skipping to change at line 155
def get_class_domain(cls, c): def get_class_domain(cls, c):
return "%s-%s" % (re.sub(r'[_]', '-', c.__name__.lower()), TestEnv.DOMAI N_SUFFIX) return "%s-%s" % (re.sub(r'[_]', '-', c.__name__.lower()), TestEnv.DOMAI N_SUFFIX)
# --------- cmd execution --------- # --------- cmd execution ---------
_a2md_args = [] _a2md_args = []
_a2md_args_raw = [] _a2md_args_raw = []
@classmethod @classmethod
def run(cls, args, _input=None): def run(cls, args, _input=None):
log.debug("run: {0}".format(" ".join(args))) # log.debug("run: {0}".format(" ".join(args)))
p = subprocess.run(args, capture_output=True, text=True) p = subprocess.run(args, capture_output=True, text=True)
# noinspection PyBroadException # noinspection PyBroadException
try: try:
jout = json.loads(p.stdout) jout = json.loads(p.stdout)
except: except:
jout = None jout = None
print("stderr: ", p.stderr) print("stderr: ", p.stderr)
print("stdout: ", p.stdout) print("stdout: ", p.stdout)
return { return {
"rv": p.returncode, "rv": p.returncode,
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)