Skip to content

Commit

Permalink
Removed @Skipped test
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimevp54 authored Mar 2, 2021
1 parent ac28b10 commit 6c71176
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions htmlBuilder/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,18 +164,3 @@ def test_raise_error_when_invalid_type_is_provided(self):
HtmlTag(["invalid_attribute"])
with self.assertRaises(HtmlBuildError):
HtmlTag([HtmlTag])


@unittest.skip('Feature disabled until full HTML validation is implements')
def test_raise_error_if_not_in_allowed_tag(self):
self.error_count = 0
self.expected_error_count = 0
for tag in self.all_tags:
for attribute in self.all_attributes:
if attribute.belongs_to and tag.__name__ not in attribute.belongs_to:
self.expected_error_count += 1
try:
tag([attribute('test')])
except InvalidAttributeError:
self.error_count += 1
self.assertEqual(self.error_count, self.expected_error_count)

0 comments on commit 6c71176

Please sign in to comment.