diff options
-rw-r--r-- | CHANGES.rst | 2 | ||||
-rw-r--r-- | coverage/html.py | 1 | ||||
-rw-r--r-- | coverage/htmlfiles/favicon_32.png | bin | 0 -> 1732 bytes | |||
-rw-r--r-- | coverage/htmlfiles/index.html | 1 | ||||
-rw-r--r-- | coverage/htmlfiles/pyfile.html | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index 800ab2cf..e175d74d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -31,6 +31,8 @@ Unreleased immediate retry seems to fix the problem, although it is an unsatisfying solution. +- The HTML report pages now have a :ref:`Sleepy Snake <sleepy>` favicon. + - Continuous integration has moved from Travis and AppVeyor to GitHub Actions. .. _issue 1037: https://github.com/nedbat/coveragepy/issues/1037 diff --git a/coverage/html.py b/coverage/html.py index 3596bbe1..247d2ae1 100644 --- a/coverage/html.py +++ b/coverage/html.py @@ -166,6 +166,7 @@ class HtmlReporter(object): ("coverage_html.js", ""), ("keybd_closed.png", ""), ("keybd_open.png", ""), + ("favicon_32.png", ""), ] def __init__(self, cov): diff --git a/coverage/htmlfiles/favicon_32.png b/coverage/htmlfiles/favicon_32.png Binary files differnew file mode 100644 index 00000000..8649f047 --- /dev/null +++ b/coverage/htmlfiles/favicon_32.png diff --git a/coverage/htmlfiles/index.html b/coverage/htmlfiles/index.html index 4129bc31..983db061 100644 --- a/coverage/htmlfiles/index.html +++ b/coverage/htmlfiles/index.html @@ -6,6 +6,7 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>{{ title|escape }}</title> + <link rel="icon" sizes="32x32" href="favicon_32.png"> <link rel="stylesheet" href="style.css" type="text/css"> {% if extra_css %} <link rel="stylesheet" href="{{ extra_css }}" type="text/css"> diff --git a/coverage/htmlfiles/pyfile.html b/coverage/htmlfiles/pyfile.html index ec0f416f..e15be066 100644 --- a/coverage/htmlfiles/pyfile.html +++ b/coverage/htmlfiles/pyfile.html @@ -9,6 +9,7 @@ {# http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/7684445e-f080-4d8f-8529-132763348e21 #} <meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" /> <title>Coverage for {{relative_filename|escape}}: {{nums.pc_covered_str}}%</title> + <link rel="icon" sizes="32x32" href="favicon_32.png"> <link rel="stylesheet" href="style.css" type="text/css"> {% if extra_css %} <link rel="stylesheet" href="{{ extra_css }}" type="text/css"> |