implement PrettyExporter

This commit is contained in:
Suhas 2021-02-01 21:12:13 -05:00
parent 2f25e5cd12
commit 927530c057
3 changed files with 18 additions and 4 deletions

View file

@ -116,8 +116,14 @@ def test_not_interspersed():
assert cli_as_dict("two -not one two -not three two") == result
def test_export_alone():
assert cli_as_dict("--export json") == expected_args(export="json")
@pytest.mark.parametrize(
"export_formats",
[
"fancy","pretty","json","markdown","xml","txt"
]
)
def test_export_alone(export_formats):
assert cli_as_dict("--export %s"%export_formats) == expected_args(export=export_formats)
def test_import_alone():