MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_bad_args

Method test_bad_args

test/dialect/sqlite/test_on_conflict.py:80–82  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

78 )
79
80 def test_bad_args(self):
81 with expect_raises(ValueError):
82 insert(self.tables.users).on_conflict_do_update()
83
84 def test_on_conflict_do_no_call_twice(self):
85 users = self.tables.users

Callers

nothing calls this directly

Calls 3

expect_raisesFunction · 0.90
insertFunction · 0.90
on_conflict_do_updateMethod · 0.45

Tested by

no test coverage detected