Lines Matching refs:ret

53         ret = []
66 ret.append(line)
67 return ''.join(ret)
110 ret = list(self.replacer.vars())
111 self.assertGreater(len(ret), 4)
112 self.assertIn('PREUPLOAD_COMMIT', ret)
234 ret = rh.hooks._run(['true'])
235 self.assertEqual(ret.returncode, 0)
241 ret = rh.hooks._get_build_os_name()
242 self.assertTrue(isinstance(ret, string_types))
243 self.assertNotEqual(ret, '')
248 ret = rh.hooks.get_helper_path('booga')
249 self.assertTrue(isinstance(ret, string_types))
250 self.assertNotEqual(ret, '')
278 ret = func(self.project, 'commit', desc, diff, options=self.options)
281 bool(ret), msg='Should have accepted: {{{%s}}}' % (desc,))
284 bool(ret), msg='Should have rejected: {{{%s}}}' % (desc,))
295 ret = func(self.project, 'commit', 'desc', (), options=self.options)
296 self.assertEqual(ret, None)
301 ret = func(self.project, 'commit', 'desc', diff, options=self.options)
302 self.assertEqual(ret, mock_check.return_value)
313 ret = rh.hooks.check_bpfmt(
315 self.assertIsNone(ret)
320 ret = rh.hooks.check_bpfmt(
322 self.assertIsNotNone(ret)
326 ret = rh.hooks.check_checkpatch(
328 self.assertEqual(ret, mock_check.return_value)
332 ret = rh.hooks.check_clang_format(
334 self.assertEqual(ret, mock_check.return_value)
338 ret = rh.hooks.check_google_java_format(
340 self.assertEqual(ret, mock_check.return_value)
691 ret = rh.hooks.check_gofmt(
693 self.assertEqual(ret, None)
698 ret = rh.hooks.check_gofmt(
700 self.assertNotEqual(ret, None)
705 ret = rh.hooks.check_json(
707 self.assertEqual(ret, None)
739 ret = rh.hooks.check_android_test_mapping(
741 self.assertIsNone(ret)
746 ret = rh.hooks.check_android_test_mapping(
748 self.assertIsNotNone(ret)