summaryrefslogtreecommitdiff
path: root/sublab_project/news/tests.py
blob: 501deb776c16733b19f3509d86e125df78958261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"""
This file demonstrates writing tests using the unittest module. These will pass
when you run "manage.py test".

Replace this 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.assertEqual(1 + 1, 2)