Added
Link Here
|
1 |
--- tests/tests.py.orig 2019-12-18 13:03:25 UTC |
2 |
+++ tests/tests.py |
3 |
@@ -35,7 +35,7 @@ class DateFormattingTestCase(unittest.TestCase): |
4 |
with app.test_request_context(): |
5 |
app.config['BABEL_DEFAULT_LOCALE'] = 'de_DE' |
6 |
assert babel.format_datetime(d, 'long') == \ |
7 |
- '12. April 2010 15:46:00 MESZ' |
8 |
+ '12. April 2010 um 15:46:00 MESZ' |
9 |
|
10 |
def test_init_app(self): |
11 |
b = babel.Babel() |
12 |
@@ -57,7 +57,7 @@ class DateFormattingTestCase(unittest.TestCase): |
13 |
with app.test_request_context(): |
14 |
app.config['BABEL_DEFAULT_LOCALE'] = 'de_DE' |
15 |
assert babel.format_datetime(d, 'long') == \ |
16 |
- '12. April 2010 15:46:00 MESZ' |
17 |
+ '12. April 2010 um 15:46:00 MESZ' |
18 |
|
19 |
def test_custom_formats(self): |
20 |
app = flask.Flask(__name__) |
21 |
@@ -95,7 +95,7 @@ class DateFormattingTestCase(unittest.TestCase): |
22 |
the_timezone = 'Europe/Vienna' |
23 |
|
24 |
with app.test_request_context(): |
25 |
- assert babel.format_datetime(d) == '12.04.2010 15:46:00' |
26 |
+ assert babel.format_datetime(d) == '12.04.2010, 15:46:00' |
27 |
|
28 |
def test_refreshing(self): |
29 |
app = flask.Flask(__name__) |