diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2021-04-17 20:45:38 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2021-04-17 20:45:38 +0100 |
commit | 25b8fc2e1dfae3022a5ff657076de820918a040b (patch) | |
tree | 68cc228cd1a65d11bd32ff49523b1695a4a0bfa3 /core/TESTS/tests_caves.py | |
parent | f8b613e0aaaff0cf6dde99d677bb9c5ae6b4d09d (diff) | |
download | troggle-25b8fc2e1dfae3022a5ff657076de820918a040b.tar.gz troggle-25b8fc2e1dfae3022a5ff657076de820918a040b.tar.bz2 troggle-25b8fc2e1dfae3022a5ff657076de820918a040b.zip |
test suite with users logins
Diffstat (limited to 'core/TESTS/tests_caves.py')
-rw-r--r-- | core/TESTS/tests_caves.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/core/TESTS/tests_caves.py b/core/TESTS/tests_caves.py new file mode 100644 index 0000000..84a0d97 --- /dev/null +++ b/core/TESTS/tests_caves.py @@ -0,0 +1,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 + + |