diff --git a/evap/evaluation/migrations/0140_userprofile_notes.py b/evap/evaluation/migrations/0141_userprofile_notes.py similarity index 87% rename from evap/evaluation/migrations/0140_userprofile_notes.py rename to evap/evaluation/migrations/0141_userprofile_notes.py index 3588814e93..1d5ed979b4 100644 --- a/evap/evaluation/migrations/0140_userprofile_notes.py +++ b/evap/evaluation/migrations/0141_userprofile_notes.py @@ -5,7 +5,7 @@ class Migration(migrations.Migration): dependencies = [ - ("evaluation", "0139_userprofile_startpage"), + ("evaluation", "0140_alter_question_type"), ] operations = [ diff --git a/evap/evaluation/tests/test_views.py b/evap/evaluation/tests/test_views.py index 2a50ed9217..b2ac832889 100644 --- a/evap/evaluation/tests/test_views.py +++ b/evap/evaluation/tests/test_views.py @@ -202,6 +202,7 @@ def test_edit_display_name(self): page = self.app.get(self.url, user=self.responsible) self.assertContains(page, "testdisplayname") + class TestNegativeLikertQuestions(WebTest): @classmethod def setUpTestData(cls): @@ -229,6 +230,7 @@ def test_answer_ordering(self): self.assertLess(page.index("Strongly
disagree"), page.index("Strongly
agree")) self.assertIn("The answer scale is inverted for this question", page) + class TestNotebookView(WebTest): url = reverse("evaluation:profile_edit") # is used exemplarily, notebook is accessed from all pages note = "Data is so beautiful" @@ -242,4 +244,4 @@ def test_notebook(self): form.submit() user.refresh_from_db() - self.assertEqual(user.notes, self.note) \ No newline at end of file + self.assertEqual(user.notes, self.note)