summaryrefslogtreecommitdiffstats
path: root/test/unittest
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2008-02-05 15:07:13 -0500
committerAdrian Likins <alikins@redhat.com>2008-02-05 15:07:13 -0500
commit6ce920ab5ea52563aa91b5c54be275384cae7335 (patch)
tree95a0149fef8bf25a7abe962fa21725dcd58bed09 /test/unittest
parent46f897f0f33a6c1eb6d489cd8d3dc26b70035255 (diff)
downloadthird_party-func-6ce920ab5ea52563aa91b5c54be275384cae7335.tar.gz
third_party-func-6ce920ab5ea52563aa91b5c54be275384cae7335.tar.xz
third_party-func-6ce920ab5ea52563aa91b5c54be275384cae7335.zip
use socket.getfqdn instead of gethostname for sanity sake
Diffstat (limited to 'test/unittest')
-rw-r--r--test/unittest/test_client.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unittest/test_client.py b/test/unittest/test_client.py
index 1d24753..44d59c5 100644
--- a/test/unittest/test_client.py
+++ b/test/unittest/test_client.py
@@ -13,7 +13,8 @@ import socket
class BaseTest:
# assume we are talking to localhost
- th = socket.gethostname()
+# th = socket.gethostname()
+ th = socket.getfqdn()
nforks=1
async=False