diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-11-28 17:03:04 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-11-28 17:03:45 +0200 |
commit | 074ae1b24cf721ed3d86427795b34a4aefa1290c (patch) | |
tree | 4e29ec45ff2c7f6e92e38d7be6492ff6bb3391a6 /subplot | |
parent | 2583b50e2a49fb0492ae0d341a51353b806c3233 (diff) | |
download | summain-rs-074ae1b24cf721ed3d86427795b34a4aefa1290c.tar.gz |
feat: add SHA256 checksum of contents of regular files
Diffstat (limited to 'subplot')
-rw-r--r-- | subplot/summain.py | 4 |
1 files changed, 4 insertions, 0 deletions
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) |