"""
This file demonstrates two different styles of tests (one doctest and one
unittest). These will both pass when you run "manage.py test".

Replace these with more appropriate tests for your application.
"""

from django.test import TestCase

class SimpleTest(TestCase):
    def test_basic_addition(self):
        """
        Tests that 1 + 1 always equals 2.
        """
        self.failUnlessEqual(1 + 1, 2)

__test__ = {"doctest": """
Another way to test that 1 + 1 is equal to 2.

>>> 1 + 1 == 2
True
"""}


@@ -1,514 +1,34 @@
-%22%22%22%0AThis file demonstrates two different styles of tests (one doctest and one%0Aunittest). These will both pass when you run %22manage.py test%22.%0A%0AReplace these with more appropriate tests for your application.%0A%22%22%22%0A%0Afrom django.test import TestCase%0A%0Aclass SimpleTest(TestCase):%0A    def test_basic_addition(self):%0A        %22%22%22%0A        Tests that 1 + 1 always equals 2.%0A        %22%22%22%0A        self.failUnlessEqual(1 + 1, 2)%0A%0A__test__ = %7B%22doctest%22: %22%22%22%0AAnother way to test that 1 + 1 is equal to 2.%0A%0A%3E%3E%3E 1 + 1 == 2%0ATrue%0A%22%22%22%7D
+from django.test import TestCase
 %0A%0A

remove sample test from votes unit test