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

Method assert_equal

seleniumbase/core/sb_cdp.py:3399–3407  ·  view source on GitHub ↗
(self, first, second, msg=None)

Source from the content-addressed store, hash-verified

3397 )
3398
3399 def assert_equal(self, first, second, msg=None):
3400 if first != second:
3401 if not msg:
3402 raise AssertionError(
3403 "%s is not equal to %s." % (first, second)
3404 )
3405 else:
3406 raise AssertionError(
3407 "%s is not equal to %s. (%s)" % (first, second, msg))
3408
3409 def assert_not_equal(self, first, second, msg=None):
3410 if first == second:

Callers 15

controleren_gelijkMethod · 0.45
vérifier_égalMethod · 0.45
verificare_ugualeMethod · 0.45
verificar_igualMethod · 0.45
동일한지_확인Method · 0.45
検証が等しいMethod · 0.45
断言等于Method · 0.45
verificar_igualMethod · 0.45
test_alertsMethod · 0.45

Calls

no outgoing calls

Tested by 6

test_alertsMethod · 0.36
test_baseMethod · 0.36
test_alertsMethod · 0.36
test_todo_listMethod · 0.36