+ # Unset the current locale to ensure locale-specific data
+ # (day and month names, first day of the week, …) doesn’t get
+ # in the way of test expectations.
+ self.patch_environment('LC_ALL', 'C')
+
if os.path.exists(self.local_location): self.launch_test_local()
elif os.path.exists(self.installed_location):
The quickest way to fix that (tested here locally) is probably to unset the locale before launching the application in the autopilot tests:
=== modified file 'tests/ autopilot/ calendar_ app/tests/ __init_ _.py' /calendar_ app/tests/ __init_ _.py 2014-01-18 23:29:11 +0000 /calendar_ app/tests/ __init_ _.py 2014-01-28 15:06:16 +0000
# disabling for now
# self.addCleanup (os.system( "start maliit-server"))
--- tests/autopilot
+++ tests/autopilot
@@ -62,6 +62,11 @@
+ # Unset the current locale to ensure locale-specific data environment( 'LC_ALL' , 'C') exists( self.local_ location) :
self. launch_ test_local( ) exists( self.installed_ location) :
+ # (day and month names, first day of the week, …) doesn’t get
+ # in the way of test expectations.
+ self.patch_
+
if os.path.
elif os.path.