Skip to content

Commit

Permalink
add TAG tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Matheus Lima authored and Matheus Lima committed Apr 18, 2012
1 parent 33260ce commit 35845b7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests.py
@@ -0,0 +1,11 @@
import unittest
from html import *

class HtmlTest(unittest.TestCase):

def setUp(self):
pass

def test_tag(self):
tag = TAG('content')
self.assertEqual(tag.__str__(), '<tag>\n content\n</tag>')

0 comments on commit 35845b7

Please sign in to comment.