Skip to content

Commit 3c3d6df

Browse files
committed
Removed @Skipped test
1 parent 182d28b commit 3c3d6df

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

htmlBuilder/test.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -164,18 +164,3 @@ def test_raise_error_when_invalid_type_is_provided(self):
164164
HtmlTag(["invalid_attribute"])
165165
with self.assertRaises(HtmlBuildError):
166166
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

Comments
 (0)