Commit 7952bbda authored by Jeremy Hylton's avatar Jeremy Hylton

Basic persistent object used by test suite.

parent e1ecd8a0
"""A minimal persistent object to use for tests"""
from Persistence import Persistent
class MinPO(Persistent):
def __init__(self, value=None):
self.value = value
def __cmp__(self, aMinPO):
return cmp(self.value, aMinPO.value)
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