summaryrefslogtreecommitdiffstats
path: root/tests/test_ipalib/test_text.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2010-05-21 17:33:15 -0400
committerRob Crittenden <rcritten@redhat.com>2010-08-06 13:11:05 -0400
commite874b41c5b8efd3b8187bec1b301fdd64f67789c (patch)
tree7303f8defe0197e2e23cf7c89ead6829efe8ca7b /tests/test_ipalib/test_text.py
parent1e963646b336c77a5a8488cb60751fce50e1e6c0 (diff)
downloadfreeipa-e874b41c5b8efd3b8187bec1b301fdd64f67789c.tar.gz
freeipa-e874b41c5b8efd3b8187bec1b301fdd64f67789c.tar.xz
freeipa-e874b41c5b8efd3b8187bec1b301fdd64f67789c.zip
Fix this test to work from source tree root
It would work if you ran the test from its location in tests/test_ipalib but this isn't the most common method. If you want to run it individually you can do: $ ./make-test tests/test_ipalib/test_text.py
Diffstat (limited to 'tests/test_ipalib/test_text.py')
-rw-r--r--tests/test_ipalib/test_text.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_ipalib/test_text.py b/tests/test_ipalib/test_text.py
index 580c68f70..ac156fe03 100644
--- a/tests/test_ipalib/test_text.py
+++ b/tests/test_ipalib/test_text.py
@@ -70,8 +70,8 @@ def test_gettext():
art the string "foo" would render as: "-->foo<--"
'''
- localedir='../../install/po/test_locale'
- test_file='../../install/po/test.po'
+ localedir='install/po/test_locale'
+ test_file='install/po/test.po'
# The test installs the test message catalog under the en_US
# (e.g. U.S. English) language. It would be nice to use a dummy