diff --git a/uniticket/tests/test_06_generic.py b/uniticket/tests/test_06_generic.py index d1cb9a4..cc5e7b4 100644 --- a/uniticket/tests/test_06_generic.py +++ b/uniticket/tests/test_06_generic.py @@ -16,21 +16,21 @@ def test_opened_tickets_page(self): kwargs={'structure_slug': self.structure_1.slug}), follow=True) assert response.status_code == 200 - self.assertEquals(response.context['structure'], self.structure_1) + self.assertEqual(response.context['structure'], self.structure_1) def test_closed_tickets_page(self): response = self.client.get(reverse('uni_ticket:manager_closed_ticket', kwargs={'structure_slug': self.structure_1.slug}), follow=True) assert response.status_code == 200 - self.assertEquals(response.context['structure'], self.structure_1) + self.assertEqual(response.context['structure'], self.structure_1) def test_unassigned_tickets_page(self): response = self.client.get(reverse('uni_ticket:manager_unassigned_ticket', kwargs={'structure_slug': self.structure_1.slug}), follow=True) assert response.status_code == 200 - self.assertEquals(response.context['structure'], self.structure_1) + self.assertEqual(response.context['structure'], self.structure_1) def test_email_notify_change(self): self.structure_1_default_office_operator_login()