Commit a062f0af authored by Jim Fulton's avatar Jim Fulton

Added missing (sub)test for calling tpc_vote with wrong transaction.

parent 675f2fc7
......@@ -52,6 +52,10 @@ class BasicStorage:
POSException.StorageTransactionError,
self._storage.store,
ZERO, 1, '2', '', transaction.Transaction())
self.assertRaises(
POSException.StorageTransactionError,
self._storage.tpc_vote, transaction.Transaction())
self._storage.tpc_abort(t)
def checkSerialIsNoneForInitialRevision(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment