summaryrefslogtreecommitdiffstats
path: root/test/functional/libgfapi-python-tests.py
diff options
context:
space:
mode:
authorPrashanth Pai <ppai@redhat.com>2015-06-22 14:29:13 +0530
committerPrashanth Pai <ppai@redhat.com>2015-09-16 14:28:44 +0530
commitf99520e231fee40ef29c866ddd3ea5eef538d3b0 (patch)
treeaa88a57329c013ac3dee3389bedb14bc7642a64e /test/functional/libgfapi-python-tests.py
parentf3acbc844a105d342a3133789f01eaf713a981d1 (diff)
functests: Change default host name to localhost
Without this change, user (developer) will have to modify test.conf (tracked by git) every time he has to run functional tests or has to edit /etc/hosts and add entry for 'gfshost' Change-Id: I6d41a657b0cae614513e2925e73138da46ddaf04 Signed-off-by: Prashanth Pai <ppai@redhat.com>
Diffstat (limited to 'test/functional/libgfapi-python-tests.py')
-rw-r--r--test/functional/libgfapi-python-tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/libgfapi-python-tests.py b/test/functional/libgfapi-python-tests.py
index 87dbfe0..cef0f01 100644
--- a/test/functional/libgfapi-python-tests.py
+++ b/test/functional/libgfapi-python-tests.py
@@ -26,13 +26,13 @@ if config:
try:
HOST = config.get('func_test', 'gfs_host')
except (NoSectionError, NoOptionError):
- HOST = 'gfshost'
+ HOST = 'localhost'
try:
VOLNAME = config.get('func_test', 'gfs_volname')
except (NoSectionError, NoOptionError):
VOLNAME = 'test'
else:
- HOST = 'gfshost'
+ HOST = 'localhost'
VOLNAME = 'test'