Home
last modified time | relevance | path

Searched refs:test_obj (Results 1 – 7 of 7) sorted by relevance

/external/chromium-trace/catapult/devil/devil/android/
Ddecorators_test.py282 test_obj = self._MethodDecoratorTestObject(self)
286 test_obj.alwaysTimesOut(timeout=1, retries=0)
292 self.assertEquals(1, test_obj.function_call_counters['alwaysTimesOut'])
296 test_obj = self._MethodDecoratorTestObject(self)
299 test_obj.alwaysRaisesCommandFailedError(retries=10)
304 11, test_obj.function_call_counters['alwaysRaisesCommandFailedError'])
308 test_obj = self._MethodDecoratorTestObject(
310 self.assertEquals(42, test_obj.alwaysReturnsTimeout())
311 self.assertEquals(41, test_obj.alwaysReturnsTimeout(timeout=41))
312 self.assertEquals(31, test_obj.alwaysReturnsRetries())
[all …]
/external/tensorflow/tensorflow/python/autograph/pyct/
Dinspect_utils_test.py279 test_obj = TestClass()
281 inspect_utils.getmethodclass(test_obj.member_function),
284 inspect_utils.getmethodclass(test_obj.decorated_member),
287 inspect_utils.getmethodclass(test_obj.fn_decorated_member),
290 inspect_utils.getmethodclass(test_obj.wrap_decorated_member),
293 inspect_utils.getmethodclass(test_obj.static_method),
296 inspect_utils.getmethodclass(test_obj.class_method),
337 test_obj = LocalClass()
339 inspect_utils.getmethodclass(test_obj.member_function),
342 inspect_utils.getmethodclass(test_obj.decorated_member),
[all …]
/external/autotest/client/common_lib/
Dpowerplay_util.py19 def __init__(self, test_obj, record_interval=0): argument
25 self.test = test_obj
/external/autotest/client/site_tests/platform_TLSDate/
Dplatform_TLSDate.py19 def __init__(self, test_obj): argument
25 self._test_obj = test_obj
/external/tensorflow/tensorflow/contrib/distribute/python/
Dkeras_multi_worker_test.py253 def _run_standalone_client(test_obj, strategy, cluster_spec): argument
279 test_obj.assertLessEqual(trained_loss, orig_loss)
280 test_obj.assertGreaterEqual(trained_acc, orig_acc)
/external/tensorflow/tensorflow/python/util/
Dtf_inspect_test.py275 test_obj = Callable()
276 self.assertEqual(argspec, tf_inspect.getargspec(test_obj))
456 test_obj = Callable()
457 self.assertEqual(argspec, tf_inspect.getfullargspec(test_obj))
/external/autotest/server/cros/dynamic_suite/
Dsuite.py393 test_obj = self._afe.create_job(
412 test_obj.test_name = test.name
413 return test_obj