Skip to content

Commit

Permalink
added test to check xml generator error raise
Browse files Browse the repository at this point in the history
  • Loading branch information
JJFlorian committed Mar 15, 2024
1 parent 7203902 commit 5f43269
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/tests/test_bro_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def test_xml_generator1():

assert generator.create_xml_file() == expected_xml_str


def test_xml_generator2():
"""Tests a non existing combination of registration_type and request type."""
with pytest.raises(delivery.XMLGenerationError):
Expand Down

0 comments on commit 5f43269

Please sign in to comment.