Searched refs:assertIn (Results 1 – 13 of 13) sorted by relevance
14 self.assertIn('-g', check_cfc.flip_dash_g(['clang', '-c']))33 self.assertIn(superstring_path, stripped_path_var)35 self.assertIn(space_path, stripped_path_var)48 self.assertIn(
103 self.assertIn(170 self.assertIn(195 self.assertIn(215 self.assertIn('Error: /does_not_exist.html not found', exception_message)227 self.assertIn('Error: /does_not_exist.js not found', exception_message)
39 self.assertIn("KeyError not raised", e.args)61 self.assertIn("KeyError not raised", e.args)
66 self.assertIn("'kot'", e.args[0])67 self.assertIn('Message', e.args[0])
587 self.assertIn('a', 'abc')588 self.assertIn(2, [1, 2, 3])589 self.assertIn('monkey', animals)595 self.assertRaises(self.failureException, self.assertIn, 'x', 'abc')596 self.assertRaises(self.failureException, self.assertIn, 4, [1, 2, 3])597 self.assertRaises(self.failureException, self.assertIn, 'elephant',921 self.assertIn(omitted, msg)
156 self.assertIn(full_path, sys.path)179 self.assertIn(top_level_dir, sys.path)196 self.assertIn(os.getcwd(), sys.path)
148 self.assertIn(result, unittest2.signals._results)
538 self.assertIn(module_name, sys.modules)921 self.assertIn(module_name, sys.modules)
70 self.assertIn('Factory1Message', file_desc1.message_types_by_name)77 self.assertIn('Factory2Message', file_desc2.message_types_by_name)90 self.assertIn('Factory1Message', file_desc1.message_types_by_name)98 self.assertIn('Factory2Message', file_desc2.message_types_by_name)183 self.assertIn(msg2.fields_by_name[name], msg2.oneofs[0].fields)277 test.assertIn(value, msg_desc.enum_values_by_name)
1649 self.assertIn('test_file_descriptor_errors.proto', str(cm.exception))1653 self.assertIn('test_file_descriptor_errors.msg1', str(cm.exception))2823 self.assertIn('child', message_class.__dict__)2824 self.assertIn('sibling', message_class.__dict__)2825 self.assertIn('leaf', message_class.child.__dict__)
82 self.assertIn('field: protobuf_unittest.TestAllTypes.optional_string',
50 self.assertIn(key, VAR_NAMES)
825 def assertIn(self, member, container, msg=None): member in TestCase