Skip to content

Commit 8dfabbf

Browse files
committed
Try setting date format explicitly
1 parent 8896480 commit 8dfabbf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_endpoints/test_timelines.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
import unittest
2424

25+
from gramps.gen.utils.config import config
26+
2527
from . import BASE_URL, get_test_client
2628
from .checks import (
2729
check_conforms_to_schema,
@@ -45,6 +47,9 @@ class TestTimelinesPeople(unittest.TestCase):
4547
@classmethod
4648
def setUpClass(cls):
4749
"""Test class setup."""
50+
51+
config.set("preferences.date-format", 0)
52+
4853
cls.client = get_test_client()
4954

5055
def test_get_timelines_people_requires_token(self):

0 commit comments

Comments
 (0)