Ticket #11761: tests.py

File tests.py, 509 bytes (added by dmishe, 6 years ago)

testcase

Line 
1# -*- coding: utf-8 -*-
2
3from django.test import TestCase, TransactionTestCase
4
5
6#for some reason, mixing TestCase with TransactionTestCase will fail weirdly,
7#quiet possibly it's django bug, remove 'pass' if you want to test for transactions
8class TestSlugs(TransactionTestCase):
9    pass
10   
11   
12       
13
14class TestDatabaseIntegrity(TransactionTestCase):
15    def test_add_duplicate_items(self):
16        return
17       
18
19class Test1(TransactionTestCase):
20    def test(self):
21        self.client.get('/')
Back to Top