diff tests/test-ui-config.py.out @ 32449:0ed730f3301c

ui: fix ui.configdate for invalid dates a7dce526c462 introduced util._parsedate with the aim to be used in ui.configdate but ui.configdate was using util.parsedate instead. It have the impact of raising an AbortError in case of an invalid date instead of a ConfigError exception. Fix ui.configdate to use the right function and add a test for invalid dates. Thanks to Yuya for the catch!
author Boris Feld <boris.feld@octobus.net>
date Tue, 23 May 2017 15:44:50 +0200
parents a6344df5108e
children a2cfea193040
line wrap: on
line diff
--- a/tests/test-ui-config.py.out	Fri Apr 28 00:01:22 2017 +0900
+++ b/tests/test-ui-config.py.out	Tue May 23 15:44:50 2017 +0200
@@ -43,7 +43,11 @@
 ['foo', 'bar']
 ['foo bar']
 ['foo', 'bar']
+---
+(0, 0)
+(1113868800, 0)
 None
 True
 boolinvalid
 intinvalid
+dateinvalid