aboutsummaryrefslogtreecommitdiffstats
path: root/fabtools/tests/fabfiles/system.py
diff options
context:
space:
mode:
Diffstat (limited to 'fabtools/tests/fabfiles/system.py')
-rw-r--r--fabtools/tests/fabfiles/system.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/fabtools/tests/fabfiles/system.py b/fabtools/tests/fabfiles/system.py
new file mode 100644
index 0000000..7463c34
--- /dev/null
+++ b/fabtools/tests/fabfiles/system.py
@@ -0,0 +1,13 @@
+from __future__ import with_statement
+
+from fabric.api import *
+from fabtools import require
+
+
+@task
+def locales():
+ """
+ Check locales configuration
+ """
+ require.system.locale('en_US.UTF-8')
+ require.system.locale('fr_FR.UTF-8')