From 35051ec6bac23eeeeb945495578e5f2d8b937c84 Mon Sep 17 00:00:00 2001 From: Tim Laszlo Date: Wed, 24 Oct 2012 08:58:32 -0500 Subject: Fix tests for probes --- testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'testsuite') diff --git a/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py b/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py index ac6f6b8e7..f12adec69 100644 --- a/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py +++ b/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py @@ -483,9 +483,12 @@ text client.hostname = "foo.example.com" probes.ReceiveData(client, datalist) + cgroups = [] + cprobedata = ClientProbeDataSet() self.assertItemsEqual(mock_ReceiveDataItem.call_args_list, - [call(client, "a"), call(client, "b"), - call(client, "c")]) + [call(client, "a", cgroups, cprobedata), + call(client, "b", cgroups, cprobedata), + call(client, "c", cgroups, cprobedata)]) mock_write_data.assert_called_with(client) self.assertFalse(probes.core.metadata_cache.expire.called) -- cgit v1.2.3-1-g7c22