summaryrefslogtreecommitdiffstats
path: root/core/TESTS/tests_caves.py
blob: 84a0d978514ba8494adb164c2a4f1c5f9b771c33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"""
Modified for Expo April 2021.
"""

import unittest
import re
from django.test import TestCase, SimpleTestCase, TransactionTestCase, Client

        
class FixturePageTests(TestCase):
    # The fixtures have a password hash which is compatible with plain-text password 'secretword'
    fixtures = ['auth_users', 'expo_areas', 'expo_caves']

    def setUp(self):
        from django.contrib.auth.models import User
        self.user = User.objects.get(username='expotest')
 
    def tearDown(self):
        pass