From c99069b594c878263d08512db4ad03d1ebf9ae1a Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 16 Nov 2022 18:05:49 +0100 Subject: Remove deadcode (old dashboards) - clean css --- archaeological_operations/tests.py | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'archaeological_operations/tests.py') diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index 148ef3ed1..9a5f35d9b 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -3390,24 +3390,6 @@ class LabelTest(TestCase, OperationInitTest): f.close() -class DashboardTest(TestCase, OperationInitTest): - fixtures = FILE_FIXTURES - - def setUp(self): - IshtarSiteProfile.objects.get_or_create(slug="default", active=True) - self.username, self.password, self.user = create_superuser() - self.orgas = self.create_orgas(self.user) - self.operations = self.create_operation(self.user, self.orgas[0]) - - def test_dashboard(self): - url = "dashboard-operation" - c = Client() - c.login(username=self.username, password=self.password) - - response = c.get(reverse(url)) - self.assertEqual(response.status_code, 200) - - def create_administrativact(user, operation): act_type, created = models.ActType.objects.get_or_create( txt_idx="act_type_O", intented_to="O" -- cgit v1.2.3