aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/register/tests/test_views.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/ctrack/register/tests/test_views.py b/ctrack/register/tests/test_views.py
index da26d50..94edc4f 100644
--- a/ctrack/register/tests/test_views.py
+++ b/ctrack/register/tests/test_views.py
@@ -115,10 +115,8 @@ class TestSingleDateTimeEvent:
response = client.get(url)
html = response.content.decode("utf-8")
assert response.status_code == 200
- test_case.assertInHTML("Create a new simple event", html)
+ test_case.assertInHTML("Create a new simple event", html)
-
- @pytest.mark.skip("Until we know what we're doing")
def test_org_passed_as_kwarg(self, user, org, request_factory):
slug = org.slug
view = SingleDateTimeEventCreate()
@@ -127,7 +125,7 @@ class TestSingleDateTimeEvent:
request.user = user
view.request = request
view.setup(request)
- assert "org" in view.get_form_kwargs()
+ assert "org_slug" in view.get_form_kwargs()
class TestSingleDateCAFEventViews: