changeset 2929:7a8a02646d4e

backend is an attribute of tracker instances
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Thu, 18 Nov 2004 16:23:58 +0000
parents 81c99c857b57
children 4b5d7b4bc089
files test/test_cgi.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/test_cgi.py	Thu Nov 18 16:21:07 2004 +0000
+++ b/test/test_cgi.py	Thu Nov 18 16:23:58 2004 +0000
@@ -8,7 +8,7 @@
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 #
-# $Id: test_cgi.py,v 1.25 2004-10-24 10:00:13 a1s Exp $
+# $Id: test_cgi.py,v 1.26 2004-11-18 16:23:58 a1s Exp $
 
 import unittest, os, shutil, errno, sys, difflib, cgi, re
 
@@ -72,7 +72,7 @@
         self.db.user.create(username='mary', address='mary@test',
             roles='User', realname='Contrary, Mary')
 
-        test = self.instance.get_backend().Class(self.db, "test",
+        test = self.instance.backend.Class(self.db, "test",
             string=hyperdb.String(), number=hyperdb.Number(),
             boolean=hyperdb.Boolean(), link=hyperdb.Link('test'),
             multilink=hyperdb.Multilink('test'), date=hyperdb.Date(),

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