diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-01-16 20:18:32 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-01-16 20:18:32 -0500 |
| commit | a9a67667901e24eefb36e01334eed9bf25b2b144 (patch) | |
| tree | fc28a4040ca71d69416da59d2102583ba9563c70 /test/zblog/blog.py | |
| parent | 7325ba60bce50c63ce83fcb44f6b337664262ad0 (diff) | |
| download | sqlalchemy-a9a67667901e24eefb36e01334eed9bf25b2b144.tar.gz | |
- the zblog example is obsolete, the tests don't really test it
and a key feature of its mapping (the deferred col outside of the select)
doesn't work anyway.
- add a token "deferred on selectable" test to test_mapper.
Diffstat (limited to 'test/zblog/blog.py')
| -rw-r--r-- | test/zblog/blog.py | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/test/zblog/blog.py b/test/zblog/blog.py deleted file mode 100644 index 4c7635430..000000000 --- a/test/zblog/blog.py +++ /dev/null @@ -1,35 +0,0 @@ -import datetime - - -__all__ = ['Blog', 'Post', 'Topic', 'TopicAssociation', 'Comment'] - -class Blog(object): - def __init__(self, owner=None): - self.owner = owner - -class Post(object): - topics = set - def __init__(self, user=None, headline=None, summary=None): - self.user = user - self.datetime = datetime.datetime.today() - self.headline = headline - self.summary = summary - self.comments = [] - self.comment_count = 0 - -class Topic(object): - def __init__(self, keyword=None, description=None): - self.keyword = keyword - self.description = description - -class TopicAssociation(object): - def __init__(self, post=None, topic=None, is_primary=False): - self.post = post - self.topic = topic - self.is_primary = is_primary - -class Comment(object): - def __init__(self, subject=None, body=None): - self.subject = subject - self.datetime = datetime.datetime.today() - self.body = body |
