diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-01-11 09:26:41 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-01-11 09:26:41 +0200 |
commit | 1af5fa0d171cc764b937c734a15b4533561f4d67 (patch) | |
tree | ea10a397a472cada0104448ae7b85e37ddae036e /subplot.py | |
parent | 8de61284477998ba05423fb59a217601f01c510b (diff) | |
download | subplot-1af5fa0d171cc764b937c734a15b4533561f4d67.tar.gz |
Change: sp-filter scenario to check it works without YAML metadata
Diffstat (limited to 'subplot.py')
-rw-r--r-- | subplot.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -29,6 +29,9 @@ def file_matches(ctx, filename=None, regex=None): with open(filename) as f: content = f.read() m = re.search(regex, content) + if m is None: + print('content:', repr(content)) + print('regex:', repr(regex)) assert_eq(bool(m), True) def scenario_was_run(ctx, name=None): |