Skip to content

Commit 55fa08e

Browse files
committed
Test coverage
1 parent 24c343f commit 55fa08e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/test_list.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,3 +223,12 @@ def test_csv_expand():
223223
dict(a=5, b=[6]),
224224
dict(a=7, b=8),
225225
]
226+
227+
228+
def test_formats(assert_log):
229+
list_command.list_formats(None, ["fake", "installs", "that", "should", "crash", 123])
230+
assert_log(
231+
r".*Format\s+Description",
232+
r"table\s+Lists.+",
233+
# Assume the rest are okay
234+
)

0 commit comments

Comments
 (0)