Home | History | Annotate | Download | only in host

Lines Matching full:extras

35 def assertEqual(first, second, msg=None, extras=None):
44 extras: An optional field for extra information to be included in
53 fail(my_msg, extras=extras)
56 def assertNotEqual(first, second, msg=None, extras=None):
66 extras: An optional field for extra information to be included in
75 fail(my_msg, extras=extras)
78 def assertRaises(expected_exception, extras=None, *args, **kwargs):
91 extras: An optional field for extra information to be included in
94 context = _AssertRaisesContext(expected_exception, extras=extras)
100 extras=None,
117 extras: An optional field for extra information to be included in
121 expected_exception, expected_regex, extras=extras)
125 def assertTrue(expr, msg, extras=None):
131 extras: An optional field for extra information to be included in
135 fail(msg, extras)
138 def assertFalse(expr, msg, extras=None):
144 extras: An optional field for extra information to be included in
148 fail(msg, extras)
151 def assertLess(first, second, msg=None, extras=None):
161 extras: An optional field for extra information to be included in
170 fail(my_msg, extras=extras)
173 def skip(reason, extras=None):
178 extras: An optional field for extra information to be included in
184 raise signals.TestSkip(reason, extras)
187 def skipIf(expr, reason, extras=None):
193 extras: An optional field for extra information to be included in
197 skip(reason, extras)
200 def abortClass(reason, extras=None):
209 extras: An optional field for extra information to be included in
216 raise signals.TestAbortClass(reason, extras)
219 def abortClassIf(expr, reason, extras=None):
229 extras: An optional field for extra information to be included in
237 abortClass(reason, extras)
240 def abortAll(reason, extras=None):
246 extras: An optional field for extra information to be included in
252 raise signals.TestAbortAll(reason, extras)
255 def abortAllIf(expr, reason, extras=None):
262 extras: An optional field for extra information to be included in
269 abortAll(reason, extras)
272 def fail(msg, extras=None):
277 extras: An optional field for extra information to be included in
283 raise signals.TestFailure(msg, extras)
286 def explicitPass(msg, extras=None):
295 extras: An optional field for extra information to be included in
301 raise signals.TestPass(msg, extras)
307 def __init__(self, expected, expected_regexp=None, extras=None):
311 self.extras = extras
323 "{} not raised".format(exc_name), extras=self.extras)
338 extras=self.extras)