Skip to content

Commit 11d9852

Browse files
author
Alexander Smishlajev
committed
backend is an attribute of tracker instances
1 parent 5e1421f commit 11d9852

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_cgi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# but WITHOUT ANY WARRANTY; without even the implied warranty of
99
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1010
#
11-
# $Id: test_cgi.py,v 1.25 2004-10-24 10:00:13 a1s Exp $
11+
# $Id: test_cgi.py,v 1.26 2004-11-18 16:23:58 a1s Exp $
1212

1313
import unittest, os, shutil, errno, sys, difflib, cgi, re
1414

@@ -72,7 +72,7 @@ def setUp(self):
7272
self.db.user.create(username='mary', address='mary@test',
7373
roles='User', realname='Contrary, Mary')
7474

75-
test = self.instance.get_backend().Class(self.db, "test",
75+
test = self.instance.backend.Class(self.db, "test",
7676
string=hyperdb.String(), number=hyperdb.Number(),
7777
boolean=hyperdb.Boolean(), link=hyperdb.Link('test'),
7878
multilink=hyperdb.Multilink('test'), date=hyperdb.Date(),

0 commit comments

Comments
 (0)