tests: Remove stray debug prints.
This commit is contained in:
parent
23190c1cdb
commit
b37575eabc
2 changed files with 0 additions and 2 deletions
|
@ -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')
|
||||||
|
|
|
@ -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 == [
|
||||||
"",
|
"",
|
||||||
|
|
Loading…
Reference in a new issue