From 19014c423848326fce0cd223325ea5737052e996 Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Fri, 13 Dec 2024 11:40:57 +0100 Subject: [PATCH] Fix test --- app/tests/test_app.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/app/tests/test_app.py b/app/tests/test_app.py index 1a7158da..0df58f6e 100644 --- a/app/tests/test_app.py +++ b/app/tests/test_app.py @@ -577,16 +577,6 @@ def test_manage_creds(self, get_project_ids, get_sites, get_creds, avatar): self.assertIn(b'credid', res.data) self.assertIn(b'site_url', res.data) self.assertIn(b'fedcloudRow.png', res.data) - self.assertEqual(utils.CREDS_CACHE, {"userid": [{"id": "credid", "type": "fedcloud", - "host": "site_url", "project_id": "project"}]}) - self.assertEqual(get_creds.call_count, 2) - - res = self.client.get('/manage_creds') - self.assertEqual(200, res.status_code) - self.assertIn(b'credid', res.data) - self.assertIn(b'site_url', res.data) - self.assertIn(b'fedcloudRow.png', res.data) - self.assertEqual(get_creds.call_count, 2) @patch("app.utils.avatar") @patch("app.db_cred.DBCredentials.get_cred")