# HG changeset patch # User Alexander Smishlajev # Date 1100795038 0 # Node ID 7a8a02646d4ed281ffd127775eb9adac2d99092a # Parent 81c99c857b57a71117f8b207d01750a81b31fe4a backend is an attribute of tracker instances diff -r 81c99c857b57 -r 7a8a02646d4e test/test_cgi.py --- 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(),