ipaplatform: Move all filesystem paths to ipaplatform.paths module

https://fedorahosted.org/freeipa/ticket/4052

Reviewed-By: Petr Viktorin <pviktori@redhat.com>
This commit is contained in:
Tomas Babej
2014-05-29 14:47:17 +02:00
committed by Petr Viktorin
parent c7edd7b68c
commit 4d2ef43f28
61 changed files with 743 additions and 470 deletions

View File

@@ -28,6 +28,7 @@ import os
from ipalib import api
from ipalib import errors
from ipaplatform.paths import paths
from ipatests.test_xmlrpc.xmlrpc_test import XMLRPC_test
from ipaserver.plugins.ldap2 import ldap2
@@ -49,7 +50,7 @@ class cmdline_test(XMLRPC_test):
Base class for all command-line tests
"""
# some reasonable default command
command = '/bin/ls'
command = paths.LS
def setUp(self):
# Find the executable in $PATH