From 93b950121d88e43dce68b04c1f3cbe8f232078b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Thu, 6 Feb 2025 18:12:47 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=94=A8=20Fix=20inline=20icons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/appointment/controller/mailer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/appointment/controller/mailer.py b/backend/src/appointment/controller/mailer.py index 98bbf518..040beb1b 100644 --- a/backend/src/appointment/controller/mailer.py +++ b/backend/src/appointment/controller/mailer.py @@ -251,8 +251,8 @@ def html(self): duration=self.duration, # Image cids tbpro_logo_cid=self._attachments()[0].filename, - calendar_icon_cid=self._attachments()[1].filename, - clock_icon_cid=self._attachments()[2].filename, + calendar_icon_cid=self._attachments()[2].filename, + clock_icon_cid=self._attachments()[3].filename, ) From 26b893f9113d6cd8c8373db728dcdda21c2f2a45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Thu, 6 Feb 2025 18:23:38 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=9C=20Fix=20markdown=20linter=20is?= =?UTF-8?q?sues?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/README.md b/backend/README.md index cd0a1bf3..3e829b22 100644 --- a/backend/README.md +++ b/backend/README.md @@ -97,11 +97,11 @@ When running locally and looking into code coverage further you may wish to gene ```bash coverage html ``` + Then open the resulting `backend/htmlcov/index.html` file in your browser and you can click down into individual source files to see which statements were (and were not) executed during the test session. Note that the code coverage report will contain the coverage generated for all the tests that were ran in your pytest session; so if you want to measure the code coverage for a subset of tests just provide the test path on the `coverage run -m pytest` command as you normally would, then generate the coverage report(s). - ## Database Migrations To generate a database migration, bash into a running backend container and run: