Specify ranges without ':' in configuration

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
Thomas Lauf 2023-04-02 18:02:11 +02:00
parent edfabcc1e5
commit c6130157c6
6 changed files with 17 additions and 18 deletions

View file

@ -61,7 +61,7 @@ class TestExtensions(TestCase):
"""Default range is applied when no range is given on the command line"""
self.t.add_default_extension("debug.py")
self.t.config("reports.debug.range", "':day'")
self.t.config("reports.debug.range", "'day'")
now = datetime.now()
now_utc = now.utcnow()
@ -85,7 +85,7 @@ class TestExtensions(TestCase):
"""Default range is overridden when range is given on the command line"""
self.t.add_default_extension("debug.py")
self.t.config("reports.debug.range", "':day'")
self.t.config("reports.debug.range", "'day'")
now = datetime.now()
now_utc = now.utcnow()