MCPcopy Index your code
hub / github.com/webpy/webpy / testWrongQuery

Method testWrongQuery

tests/test_db.py:120–126  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

118 self.assertRows(0)
119
120 def testWrongQuery(self):
121 # It should be possible to run a correct query after getting an error from a wrong query.
122 try:
123 self.db.select("notthere")
124 except:
125 pass
126 self.db.select("person")
127
128 def testNestedTransactions(self):
129 t1 = self.db.transaction()

Callers

nothing calls this directly

Calls 1

selectMethod · 0.80

Tested by

no test coverage detected