tests: Remove stray debug prints.

This commit is contained in:
Brett Smith 2017-10-22 16:08:37 -04:00
parent 23190c1cdb
commit b37575eabc
2 changed files with 0 additions and 2 deletions

View file

@ -46,7 +46,6 @@ def test_fees_import():
pathlib.Path(DATA_DIR, 'PatreonEarnings.csv').as_posix(), pathlib.Path(DATA_DIR, 'PatreonEarnings.csv').as_posix(),
] ]
exitcode, stdout, _ = run_main(arglist) exitcode, stdout, _ = run_main(arglist)
print(_.getvalue())
assert exitcode == 0 assert exitcode == 0
actual = entries2set(stdout) actual = entries2set(stdout)
assert actual == expected_entries('test_main_fees_import.ledger') assert actual == expected_entries('test_main_fees_import.ledger')

View file

@ -19,7 +19,6 @@ def template_from(section_name, *args, **kwargs):
def assert_easy_render(tmpl, entity, amount, currency, expect_date, expect_amt): def assert_easy_render(tmpl, entity, amount, currency, expect_date, expect_amt):
rendered = tmpl.render(entity, decimal.Decimal(amount), currency, DATE) rendered = tmpl.render(entity, decimal.Decimal(amount), currency, DATE)
print(repr(rendered))
lines = [normalize_whitespace(s) for s in rendered.splitlines()] lines = [normalize_whitespace(s) for s in rendered.splitlines()]
assert lines == [ assert lines == [
"", "",