summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSahina Bose <sabose@redhat.com>2014-03-21 11:23:18 +0530
committerBala.FA <barumuga@redhat.com>2014-04-29 10:21:37 +0530
commitffda7c2597802b0a05041fb44cd8bb5151a5fa74 (patch)
tree6046867bb8eadbac9c4814eb406a8c8f65a32c96 /tests
parentc8596ac20a74959ec2153e1747ec5a9eaa153ee2 (diff)
test: Fixing the test case failure Fixing the failure due to hardcoded var path
Change-Id: I74b85fdcf85e407379a79fe002257dbbe1a8013f Signed-off-by: Sahina Bose <sabose@redhat.com> Reviewed-on: https://cuckoo.blr.redhat.com:8443/58
Diffstat (limited to 'tests')
-rw-r--r--tests/test_check_remote_host.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_check_remote_host.py b/tests/test_check_remote_host.py
index f7965f3..daa945d 100644
--- a/tests/test_check_remote_host.py
+++ b/tests/test_check_remote_host.py
@@ -33,7 +33,7 @@ class TestCheckRemoteHost(TestCaseBase):
self.assertTrue(mock_socket, "called")
reference.recv.return_value = "0\n"
plugins.check_remote_host.checkLiveStatus("dummy host", "dummy srvc")
- reference.connect.assert_called_with("${localstatedir}/"
+ reference.connect.assert_called_with("/var/"
"spool/nagios/cmd/live")
reference.send.assert_called_with("GET services\nColumns: state\n"
"Filter: description = dummy srvc\n"