mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Improve assert helper in test_strftime test
This commit is contained in:
parent
5980c48e26
commit
b084a22dc8
1 changed files with 1 additions and 1 deletions
|
|
@ -414,7 +414,7 @@ class TestUtils(LoggedTestCase):
|
|||
self.assertEqual(utils.strftime(d, '%d %B %Y'), '29 août 2012')
|
||||
|
||||
# depending on OS, the first letter is m or M
|
||||
self.assertTrue(utils.strftime(d, '%A') in ('mercredi', 'Mercredi'))
|
||||
self.assertIn(utils.strftime(d, '%A'), ('mercredi', 'Mercredi'))
|
||||
|
||||
# with text
|
||||
self.assertEqual(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue