diff options
author | Jason Kirtland <jek@discorporate.us> | 2008-01-12 22:03:42 +0000 |
---|---|---|
committer | Jason Kirtland <jek@discorporate.us> | 2008-01-12 22:03:42 +0000 |
commit | 17d3c8764e020379e54053bca0b0a2bc71d48aa0 (patch) | |
tree | 0b46f1ddc57292b8f5bfbc28ab1679230f63e426 /test/zblog/blog.py | |
parent | c194962019d1bc7322e20b82c33aa1bab3bc2a28 (diff) | |
download | sqlalchemy-17d3c8764e020379e54053bca0b0a2bc71d48aa0.tar.gz |
- testbase is gone, replaced by testenv
- Importing testenv has no side effects- explicit functions provide similar behavior to the old immediate behavior of testbase
- testing.db has the configured db
- Fixed up the perf/* scripts
Diffstat (limited to 'test/zblog/blog.py')
-rw-r--r-- | test/zblog/blog.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/test/zblog/blog.py b/test/zblog/blog.py index e234bbbc7..04dd33ac5 100644 --- a/test/zblog/blog.py +++ b/test/zblog/blog.py @@ -5,7 +5,7 @@ import datetime 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): @@ -15,7 +15,7 @@ class Post(object): self.summary = summary self.comments = [] self.comment_count = 0 - + class Topic(object): def __init__(self, keyword=None, description=None): self.keyword = keyword @@ -26,11 +26,9 @@ class TopicAssociation(object): 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 - - |