From 9434752ebe06ad0b58b5c82c217bced65db76e4c Mon Sep 17 00:00:00 2001 From: Benni Baermann Date: Wed, 17 Nov 2021 16:14:30 +0100 Subject: [PATCH] polution from offboarding branch to master removed --- evapp/tests.py | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/evapp/tests.py b/evapp/tests.py index 6b6020b..0d93568 100644 --- a/evapp/tests.py +++ b/evapp/tests.py @@ -5,7 +5,7 @@ from django.conf import settings from django.http import HttpResponse from django.core import mail -from .forms import ITForm, WorkingForm, OfficeForm, DummyForm, OffboardingForm +from .forms import ITForm, WorkingForm, OfficeForm, DummyForm class LoginTestCase(TestCase): def setUp(self): @@ -84,35 +84,7 @@ class LoginTestCase(TestCase): 'eva_form_view-current_step': '5', }, DummyForm) - def test_wizzard_out(self): - ''' this test goes through the whole offboarding process of the EvaFormView from start to end ''' - self.assertEqual(200, self.response.status_code) - - response = self._postform({ - 'eva_form_view-current_step': '0', - '0-firstname': 'Ara', - '0-lastname': 'Seva', - '0-department': 'CENT', - '0-choice': 'OUT' - }, OffboardingForm) - - response = self._postform({ - 'eva_form_view-current_step': '4', - '4-lastdate_employment': '2021-01-01', - '4-date_returning': '2021-01-01', - '4-lastdate_bvg': '2021-01-01', - '4-lastdate_bahncard': '2021-01-01', - '4-google-ownership': None, - '4-google-autoresponder': None, - '4-delete-account-later-at': None, - - - }, DummyForm) - - response = self._postform({ - 'eva_form_view-current_step': '5', - }, DummyForm) def test_mail(self):