aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/register/tests
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-20 09:37:24 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-20 09:37:45 +0100
commit025f217a973fc91a273afc3b5b5e6a62c5fa7328 (patch)
tree4bcbdd9619a55532650e5e208c2f40cb36d269bc /ctrack/register/tests
parent990807fa2fcdea85c20e42359a00fbe0fa3a21d0 (diff)
added Note form - tests passing
Diffstat (limited to 'ctrack/register/tests')
-rw-r--r--ctrack/register/tests/test_forms.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/ctrack/register/tests/test_forms.py b/ctrack/register/tests/test_forms.py
index b9c8b0b..1ba1cf9 100644
--- a/ctrack/register/tests/test_forms.py
+++ b/ctrack/register/tests/test_forms.py
@@ -6,10 +6,6 @@ from ..forms import CreateSimpleDateTimeEventForm, CAFSingleDateEventForm, CAFTw
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, org_with_people):
"""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.
@@ -114,7 +110,6 @@ def test_meeting_blank_data(user, org_with_people):
assert form.errors == {"datetime": ["This field is required."]}
-# TODO - write the template and test the view for this and link from org detail page
def test_create_note(user, org_with_people):
"""
A note is related to an organisation rather than to persons in that organisation.