Exemple #1
0
 def setUp(self):
     url = "sqlite:///%s" % db
     self.i = items.Items(GROUP_ID, url)
     self.i.t = TestableItemsTransactor(self.i.groupID, url)
     return self.i.t.pre()
Exemple #2
0
 def setUp(self):
     self.items = {'1': 'a', 2: 'b', 3: 'c', '04': 'd'}
     self.i = items.Items(GROUP_ID, "sqlite:///%s" % db, nameType=int)
Exemple #3
0
 def setUp(self):
     self.items = {'1': 'a', 2: 'b', u'3': 'c', "4": 'd'}
     self.i = items.Items(GROUP_ID, "sqlite:///%s" % db, nameType=str)
Exemple #4
0
 def setUp(self):
     self.i = items.Items(GROUP_ID, "sqlite:///%s" % db)