From c56470f961cc29a78b89f16c99cd76f6ad2ffb89 Mon Sep 17 00:00:00 2001
From: Michael Filz <michael.filz@zv-extern.fraunhofer.de>
Date: Wed, 18 May 2022 13:17:38 +0200
Subject: [PATCH] fix uncovered code line add missing lines to coverage report

---
 setup.cfg           | 2 +-
 testconf/check2.yml | 6 ++++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/setup.cfg b/setup.cfg
index 2055c2c..ddc07fe 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -2,7 +2,7 @@
 test=pytest
 
 [tool:pytest]
-addopts = --cov=.
+addopts = --cov=. --cov-report=term-missing
 
 [coverage:run]
 omit = setup.py,.eggs/*,vc/*
diff --git a/testconf/check2.yml b/testconf/check2.yml
index 3b1b7c4..ea63f88 100644
--- a/testconf/check2.yml
+++ b/testconf/check2.yml
@@ -5,3 +5,9 @@
   check: website
   url: http://public.ranira.com:123/foobar
   pattern: ''
+
+- name: pattern_not_found
+  version: none
+  check: website
+  url: https://www.fraunhofer.de/
+  pattern: ^foobar$
-- 
GitLab