MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / assert_true

Method assert_true

seleniumbase/core/sb_cdp.py:3381–3388  ·  view source on GitHub ↗
(self, expression, msg=None)

Source from the content-addressed store, hash-verified

3379 return True
3380
3381 def assert_true(self, expression, msg=None):
3382 if not expression:
3383 if not msg:
3384 raise AssertionError("%s is not true." % expression)
3385 else:
3386 raise AssertionError(
3387 "%s is not true. (%s)" % (expression, msg)
3388 )
3389
3390 def assert_false(self, expression, msg=None):
3391 if expression:

Callers 15

controleren_wareMethod · 0.45
vérifier_vraiMethod · 0.45
verificare_veroMethod · 0.45
verificar_verdadMethod · 0.45
올바른지_확인Method · 0.45
検証が正しいMethod · 0.45
断言为真Method · 0.45
verificar_verdadeMethod · 0.45
test_demo_siteMethod · 0.45

Calls

no outgoing calls