summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2012-10-24 08:58:32 -0500
committerTim Laszlo <tim.laszlo@gmail.com>2012-10-24 08:58:32 -0500
commit35051ec6bac23eeeeb945495578e5f2d8b937c84 (patch)
tree290e7bd7c8446d02b0209f7ca87dbdc6cefa851e /testsuite
parent6bd2f69645884dd6692a1bab0d3f25ac6414131a (diff)
downloadbcfg2-35051ec6bac23eeeeb945495578e5f2d8b937c84.tar.gz
bcfg2-35051ec6bac23eeeeb945495578e5f2d8b937c84.tar.bz2
bcfg2-35051ec6bac23eeeeb945495578e5f2d8b937c84.zip
Fix tests for probes
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestProbes.py7
1 files changed, 5 insertions, 2 deletions
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)