Skip to content

Commit dc7529e

Browse files
committed
add tests
1 parent 4a130a3 commit dc7529e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

quartodoc/tests/test_validation.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ def test_missing_title():
5151
del sections[0]['title']
5252
with pytest.raises(ValueError) as e:
5353
Builder(sections=sections, package='quartodoc')
54-
5554
assert '- Missing field `title` for element 0 in the list for `sections`' in str(e.value)
5655

5756

@@ -60,7 +59,6 @@ def test_missing_desc():
6059
del sections[2]['desc']
6160
with pytest.raises(ValueError) as e:
6261
Builder(sections=sections, package='quartodoc')
63-
6462
assert '- Missing field `desc` for element 2 in the list for `sections`' in str(e.value)
6563

6664
def test_missing_name_contents_1():

0 commit comments

Comments
 (0)