diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-08-02 23:44:50 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-08-02 23:44:50 +0000 |
commit | 90b2a57056f06dc14652517e331cb2609479dbc8 (patch) | |
tree | 0bb3683cd217afc3047d0fee6962c1b30ee2084c /doc/build/testdocs.py | |
parent | b673bdb02e7f7e6aa52f042f1bf4a09beef2ad21 (diff) | |
download | sqlalchemy-90b2a57056f06dc14652517e331cb2609479dbc8.tar.gz |
docs
Diffstat (limited to 'doc/build/testdocs.py')
-rw-r--r-- | doc/build/testdocs.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/build/testdocs.py b/doc/build/testdocs.py index 1b2936d8b..2cef00956 100644 --- a/doc/build/testdocs.py +++ b/doc/build/testdocs.py @@ -62,9 +62,10 @@ def replace_file(s, newfile): raise ValueError("Couldn't find suitable create_engine call to replace '%s' in it" % oldfile)
return s
-filename = 'content/ormtutorial.txt'
-s = open(filename).read()
-#s = replace_file(s, ':memory:')
-s = re.sub(r'{(?:stop|sql)}', '', s)
-teststring(s, filename)
+for filename in ('ormtutorial', 'adv_datamapping'):
+ filename = 'content/%s.txt' % filename
+ s = open(filename).read()
+ #s = replace_file(s, ':memory:')
+ s = re.sub(r'{(?:stop|sql)}', '', s)
+ teststring(s, filename)
|