comparison test/test_init.py @ 908:a8d80ffe37cc

Removed the unnecessary volatiledb and the related complications. Security much simpler and self-contained now.
author Richard Jones <richard@users.sourceforge.net>
date Mon, 29 Jul 2002 00:56:06 +0000
parents 502a5ae11cc5
children 9b910e8d987d
comparison
equal deleted inserted replaced
907:38a74d1351c5 908:a8d80ffe37cc
13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
17 # 17 #
18 # $Id: test_init.py,v 1.14 2002-07-26 08:27:00 richard Exp $ 18 # $Id: test_init.py,v 1.15 2002-07-29 00:56:06 richard Exp $
19 19
20 import unittest, os, shutil, errno, imp, sys 20 import unittest, os, shutil, errno, imp, sys
21 21
22 from roundup import init 22 from roundup import init
23 23
89 l = db.status.list() 89 l = db.status.list()
90 ae(l, ['1', '2', '3', '4', '5', '6', '7', '8']) 90 ae(l, ['1', '2', '3', '4', '5', '6', '7', '8'])
91 l = db.keyword.list() 91 l = db.keyword.list()
92 ae(l, []) 92 ae(l, [])
93 l = db.user.list() 93 l = db.user.list()
94 ae(l, ['1']) 94 ae(l, ['1', '2'])
95 l = db.msg.list() 95 l = db.msg.list()
96 ae(l, []) 96 ae(l, [])
97 l = db.file.list() 97 l = db.file.list()
98 ae(l, []) 98 ae(l, [])
99 l = db.issue.list() 99 l = db.issue.list()
153 153
154 return unittest.TestSuite(l) 154 return unittest.TestSuite(l)
155 155
156 # 156 #
157 # $Log: not supported by cvs2svn $ 157 # $Log: not supported by cvs2svn $
158 # Revision 1.14 2002/07/26 08:27:00 richard
159 # Very close now. The cgi and mailgw now use the new security API. The two
160 # templates have been migrated to that setup. Lots of unit tests. Still some
161 # issue in the web form for editing Roles assigned to users.
162 #
158 # Revision 1.13 2002/07/14 02:05:54 richard 163 # Revision 1.13 2002/07/14 02:05:54 richard
159 # . all storage-specific code (ie. backend) is now implemented by the backends 164 # . all storage-specific code (ie. backend) is now implemented by the backends
160 # 165 #
161 # Revision 1.12 2002/07/11 01:13:13 richard 166 # Revision 1.12 2002/07/11 01:13:13 richard
162 # *** empty log message *** 167 # *** empty log message ***

Roundup Issue Tracker: http://roundup-tracker.org/