'handle_wallclock_metric returns a list containing a single
sample object with the value from the original sample.'

def test_handle_wallclock_metrics_creates_sample(self):

    common_props = {'version': '1.10.1', 'scenario': 'default'}
    sample = {'value': 12}
    expected_samples = [{'value': 12}]
    for s in expected_samples:
        s.update(common_props)
    samples = handle_wallclock_metric(common_props, sample)
    self.assertEqual(sorted(samples), sorted(expected_samples))
