Skip to content

Commit c407148

Browse files
author
Richard Jones
committed
oops
1 parent cfb3cae commit c407148

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/db_test_base.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: db_test_base.py,v 1.22 2004-04-08 00:40:20 richard Exp $
18+
# $Id: db_test_base.py,v 1.23 2004-04-08 00:42:13 richard Exp $
1919

2020
import unittest, os, shutil, errno, imp, sys, time, pprint
2121

@@ -1208,20 +1208,20 @@ def test_removeMultilink(self):
12081208
# add a multilink prop
12091209
self.init_ml()
12101210
aid = self.db.a.create(name='apple')
1211-
bid = self.db.b.create(name='bear', fooz=[aid])
1212-
self.assertEqual(self.db.b.find(fooz=aid), [bid])
1211+
bid = self.db.a.create(name='bear', fooz=[aid])
1212+
self.assertEqual(self.db.a.find(fooz=aid), [bid])
12131213
self.assertEqual(self.db.a.lookup('apple'), aid)
1214-
self.assertEqual(self.db.b.lookup('bear'), bid)
1214+
self.assertEqual(self.db.a.lookup('bear'), bid)
12151215
self.db.commit(); self.db.close()
12161216

12171217
# remove the multilink
1218-
self.init_ab()
1218+
self.init_a()
12191219
self.assertEqual(self.db.a.lookup('apple'), aid)
1220-
self.assertEqual(self.db.b.lookup('bear'), bid)
1220+
self.assertEqual(self.db.a.lookup('bear'), bid)
12211221

12221222
# confirm journal's ok
12231223
self.db.getjournal('a', aid)
1224-
self.db.getjournal('b', bid)
1224+
self.db.getjournal('a', bid)
12251225

12261226
def test_removeClass(self):
12271227
self.init_ml()

0 commit comments

Comments
 (0)