diff options
author | Tomas Babej <tbabej@redhat.com> | 2014-05-29 14:47:17 +0200 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-06-16 19:48:20 +0200 |
commit | 4d2ef43f287aa96df3d65b97977fc7a824b6b33c (patch) | |
tree | 4adba8f39e1f874c89a73993d6a6455b649b7bb9 /ipatests/test_ipalib/test_plugable.py | |
parent | c7edd7b68c98d105f02a5977a0ff7c2a3081f2c9 (diff) | |
download | freeipa-4d2ef43f287aa96df3d65b97977fc7a824b6b33c.tar.gz freeipa-4d2ef43f287aa96df3d65b97977fc7a824b6b33c.tar.xz freeipa-4d2ef43f287aa96df3d65b97977fc7a824b6b33c.zip |
ipaplatform: Move all filesystem paths to ipaplatform.paths module
https://fedorahosted.org/freeipa/ticket/4052
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'ipatests/test_ipalib/test_plugable.py')
-rw-r--r-- | ipatests/test_ipalib/test_plugable.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ipatests/test_ipalib/test_plugable.py b/ipatests/test_ipalib/test_plugable.py index c495e74dc..73b263a90 100644 --- a/ipatests/test_ipalib/test_plugable.py +++ b/ipatests/test_ipalib/test_plugable.py @@ -26,6 +26,7 @@ from ipatests.util import raises, no_set, no_del, read_only from ipatests.util import getitem, setitem, delitem from ipatests.util import ClassChecker, create_test_api from ipalib import plugable, errors, text +from ipaplatform.paths import paths class test_SetProxy(ClassChecker): @@ -277,10 +278,10 @@ class test_Plugin(ClassChecker): Test the `ipalib.plugable.Plugin.call` method. """ o = self.cls() - o.call('/bin/true') is None - e = raises(errors.SubprocessError, o.call, '/bin/false') + o.call(paths.BIN_TRUE) is None + e = raises(errors.SubprocessError, o.call, paths.BIN_FALSE) assert e.returncode == 1 - assert e.argv == ('/bin/false',) + assert e.argv == (paths.BIN_FALSE,) def test_Registrar(): |