diff --git a/test/test_security.py b/test/test_security.py
index df55be46807ce19d47a5f393a644cca7c4b77568..97e759f7a58e3da873a4395062c9c6fb0ae97fc5 100644 (file)
--- a/test/test_security.py
+++ b/test/test_security.py
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
-# $Id: test_security.py,v 1.4 2002-09-10 00:19:55 richard Exp $
+# $Id: test_security.py,v 1.5 2002-09-20 05:08:00 richard Exp $
import os, unittest, shutil
if os.path.exists(config.DATABASE):
shutil.rmtree(config.DATABASE)
os.makedirs(config.DATABASE + '/files')
- self.db = anydbm.Database(config, 'test')
+ self.db = anydbm.Database(config, 'admin')
setupSchema(self.db, 1, anydbm)
def testInterfaceSecurity(self):
self.db.security.getPermission('View', 'issue')
def testDBinit(self):
- self.db.user.create(username="admin", roles='Admin')
self.db.user.create(username="anonymous", roles='User')
def testAccessControls(self):