aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/register/tests/test_forms.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-11 12:12:25 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-11 12:12:25 +0100
commit1f47b102acd45129bf8e96713af5dc6265ba2873 (patch)
treefccae0f08f178fe942e5faea5309a9a3065cca4b /ctrack/register/tests/test_forms.py
parent5150b4e0847f5edf15ef2fd6b42b3ca6b55bc6fa (diff)
working through mixins model design
Diffstat (limited to 'ctrack/register/tests/test_forms.py')
-rw-r--r--ctrack/register/tests/test_forms.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctrack/register/tests/test_forms.py b/ctrack/register/tests/test_forms.py
index 0383fa3..9a0f541 100644
--- a/ctrack/register/tests/test_forms.py
+++ b/ctrack/register/tests/test_forms.py
@@ -5,6 +5,9 @@ from ..forms import AddMeetingForm
pytestmark = pytest.mark.django_db
+# TODO this test and the form code needs to be amended to save created_by and update_by
+# on the model
+
def test_init(user):
"""Here we test that we can pass in the user value from the view.
We don't want that to be field in the form.