MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / test_participating_bad_kw

Method test_participating_bad_kw

test/sql/test_metadata.py:5369–5381  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5367 Index("a", "b", "c", unknown_y=True)
5368
5369 def test_participating_bad_kw(self):
5370 with self._fixture():
5371 assert_raises_message(
5372 exc.ArgumentError,
5373 "Argument 'participating_q_p_x' is not accepted by dialect "
5374 "'participating' on behalf of "
5375 "<class 'sqlalchemy.sql.schema.Index'>",
5376 Index,
5377 "a",
5378 "b",
5379 "c",
5380 participating_q_p_x=8,
5381 )
5382
5383 def test_participating_unknown_schema_item(self):
5384 with self._fixture():

Callers

nothing calls this directly

Calls 2

_fixtureMethod · 0.95
assert_raises_messageFunction · 0.90

Tested by

no test coverage detected