We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 182d28b commit 3c3d6dfCopy full SHA for 3c3d6df
htmlBuilder/test.py
@@ -164,18 +164,3 @@ def test_raise_error_when_invalid_type_is_provided(self):
164
HtmlTag(["invalid_attribute"])
165
with self.assertRaises(HtmlBuildError):
166
HtmlTag([HtmlTag])
167
-
168
169
- @unittest.skip('Feature disabled until full HTML validation is implements')
170
- def test_raise_error_if_not_in_allowed_tag(self):
171
- self.error_count = 0
172
- self.expected_error_count = 0
173
- for tag in self.all_tags:
174
- for attribute in self.all_attributes:
175
- if attribute.belongs_to and tag.__name__ not in attribute.belongs_to:
176
- self.expected_error_count += 1
177
- try:
178
- tag([attribute('test')])
179
- except InvalidAttributeError:
180
- self.error_count += 1
181
- self.assertEqual(self.error_count, self.expected_error_count)
0 commit comments