'wallclock_for_operation only considers results which have the
\'wallclock\' metrics and match the specified operation name.
None is returned if no results match.'

def test_wallclock_for_operation_no_matching_results(self):

    operation_name = 'test-operation'
    results = [{'metric': {'type': 'wallclock'}, 'operation': {'type': 'another-operation'}}, {'metric': {'type': 'cputime'}, 'operation': {'type': operation_name}}]
    wallclock_result = wallclock_for_operation(results, operation_name)
    self.assertEqual(wallclock_result, None)
