MCPcopy Index your code
hub / github.com/coleifer/huey / test_timeout

Method test_timeout

huey/tests/test_storage.py:437–440  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

435 return SqliteHuey(filename='huey_storage.db', timeout=3)
436
437 def test_timeout(self):
438 self.assertEqual(self.s._timeout, 3)
439 curs = self.s.conn.execute('pragma busy_timeout')
440 self.assertEqual(curs.fetchone(), (3000,))
441
442
443class TestFileStorageMethods(StorageTests, BaseTestCase):

Callers

nothing calls this directly

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected