Skip to content

Commit

Permalink
Small case fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Mar 12, 2019
1 parent ee188d8 commit c513433
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/colony/libs/test_util.py
Expand Up @@ -146,16 +146,16 @@ def assert_raises(self, expected_exception, function, *args, **kwargs):

def assert_valid_xml(self, xml_data):
"""
Tests that the provided xml data is valid.
Tests that the provided XML data is valid.
:type xml_data: String
:param xml_data: The string with the xml data.
:param xml_data: The string with the XML data.
"""

# attempts to parse the xml data
# attempts to parse the XML data
# to check if its valid
try:
# parses the xml data
# parses the XML data
xml.dom.minidom.parseString(xml_data)
except Exception:
# raises a failure exception
Expand Down

0 comments on commit c513433

Please sign in to comment.