Skip to content

Commit 9f09d7a

Browse files
author
Abhilash Joseph C
committed
Update the Cyclomatic complexity
1 parent bd69029 commit 9f09d7a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_contenthandling.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ def test_parse_content_simple(self):
133133
self.assertFalse(handler.is_template_path)
134134
self.assertFalse(handler.is_template_content)
135135

136+
node = 2
137+
self.assertRaises(TypeError, ContentHandler.parse_content, node)
138+
136139
def test_parse_content_file(self):
137140
""" Test parsing of file content """
138141
node = {'file': '/myval'}

0 commit comments

Comments
 (0)