MCPcopy Index your code
hub / github.com/piccolo-orm/piccolo / test_warnings

Method test_warnings

tests/engine/test_pool.py:117–123  ·  view source on GitHub ↗

Make sure that when trying to start and close a connection pool with SQLite, a warning is printed out, as connection pools aren't currently supported.

(self)

Source from the content-addressed store, hash-verified

115 )
116
117 def test_warnings(self):
118 """
119 Make sure that when trying to start and close a connection pool with
120 SQLite, a warning is printed out, as connection pools aren't currently
121 supported.
122 """
123 asyncio.run(self._create_pool())

Callers

nothing calls this directly

Calls 2

_create_poolMethod · 0.95
runMethod · 0.45

Tested by

no test coverage detected