old_contents: # -*- coding: utf-8 -*-
  """
  @author: Federico Cerchiari <federicocerchiari@gmail.com>
  """
  import unittest
  
  from tempy.tags import Div, A, Comment
  
  
  class TestSingleTags(unittest.TestCase):
  
      def setUp(self):
          self.page = Div()
  
      def test_fill_a(self):
          a = A(href='www.test.com')
          expected = '<a href="www.test.com">www.test.com</a>'
          self.assertEqual(a.render(), expected)
  
      def test_comment(self):
          comment_string = 'Test comment'
          c = Comment(comment_string)
          print(c.render())
          self.assertTrue(comment_string in c.render())
  
  if __name__ == '__main__':
      unittest.main()
  
new_contents: # -*- coding: utf-8 -*-
  """
  @author: Federico Cerchiari <federicocerchiari@gmail.com>
  """
  import unittest
  
  from tempy.tags import Div, A, Comment
  
  
  class TestSingleTags(unittest.TestCase):
  
      def setUp(self):
          self.page = Div()
  
      def test_fill_a(self):
          a = A(href='www.test.com')
          expected = '<a href="www.test.com">www.test.com</a>'
          self.assertEqual(a.render(), expected)
  
      def test_comment(self):
          comment_string = 'Test comment'
          c = Comment(comment_string)
          self.assertTrue(comment_string in c.render())
  
  if __name__ == '__main__':
      unittest.main()
  
subject: test cleanup