Commit 7a089e71 authored by Jeremy Hylton's avatar Jeremy Hylton

Define variable results before defining function that used the variable.

parent f31b61a1
......@@ -134,9 +134,9 @@ class ClientCacheTests(unittest.TestCase):
def testVerify(self):
cache = self.cache
results = []
def verifier(oid, serial, vserial):
results.append((oid, serial, vserial))
results = []
cache.verify(verifier)
self.assertEqual(results, [])
oid = 'abcdefgh'
......
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