From 8caf7d69d24547e4f0309887d7f87e60f8f0c162 Mon Sep 17 00:00:00 2001 From: Luis Aleixo Date: Mon, 15 Nov 2021 14:24:51 +0100 Subject: [PATCH] calculator themes down into the apps directory --- .../themes/cern/templates/calculator.report.html.j2 | 0 cara/tests/apps/calculator/test_webapp.py | 1 - 2 files changed, 1 deletion(-) rename cara/apps/{calculator => }/themes/cern/templates/calculator.report.html.j2 (100%) diff --git a/cara/apps/calculator/themes/cern/templates/calculator.report.html.j2 b/cara/apps/themes/cern/templates/calculator.report.html.j2 similarity index 100% rename from cara/apps/calculator/themes/cern/templates/calculator.report.html.j2 rename to cara/apps/themes/cern/templates/calculator.report.html.j2 diff --git a/cara/tests/apps/calculator/test_webapp.py b/cara/tests/apps/calculator/test_webapp.py index 09bc104c..fc41e8a5 100644 --- a/cara/tests/apps/calculator/test_webapp.py +++ b/cara/tests/apps/calculator/test_webapp.py @@ -79,7 +79,6 @@ class TestCernApp(tornado.testing.AsyncHTTPTestCase): def test_report(self): response = yield self.http_client.fetch(self.get_url('/calculator/baseline-model/result')) self.assertEqual(response.code, 200) - assert 'CERN HSE' in response.body.decode() assert 'expected number of new cases is' in response.body.decode()