From 074ae1b24cf721ed3d86427795b34a4aefa1290c Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 28 Nov 2020 17:03:04 +0200 Subject: feat: add SHA256 checksum of contents of regular files --- subplot/summain.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'subplot') diff --git a/subplot/summain.py b/subplot/summain.py index 3ea6188..98eecf2 100644 --- a/subplot/summain.py +++ b/subplot/summain.py @@ -1,3 +1,4 @@ +import logging import os @@ -33,4 +34,7 @@ def output_matches_file(ctx, filename=None): actual = runcmd_get_stdout(ctx) expected = get_file(filename).decode("UTF-8") + logging.debug("output_matches:") + logging.debug(f" actual: {actual!r}") + logging.debug(f" expect: {expected!r}") assert_eq(actual, expected) -- cgit v1.2.1