Change in vdsm[master]: tests: split SampleWindow tests
danken at redhat.com
danken at redhat.com
Tue Nov 25 11:27:36 UTC 2014
Dan Kenigsberg has posted comments on this change.
Change subject: tests: split SampleWindow tests
......................................................................
Patch Set 4: Code-Review-1
(1 comment)
http://gerrit.ovirt.org/#/c/34512/4/tests/samplingTests.py
File tests/samplingTests.py:
Line 125: sampling.SampleWindow, size)
Line 126:
Line 127: def test_last(self):
Line 128: value = 42
Line 129: win = sampling.SampleWindow(size=2)
append 19 first
Line 130: win.append(value)
Line 131: self.assertEqual(value, win.last())
Line 132:
Line 133: def test_stats(self):
--
To view, visit http://gerrit.ovirt.org/34512
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I74f0005eae5466e083002f0d871bcf1fbec54fef
Gerrit-PatchSet: 4
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
More information about the vdsm-patches
mailing list