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()
def setUp(self): self.items = {'1': 'a', 2: 'b', 3: 'c', '04': 'd'} self.i = items.Items(GROUP_ID, "sqlite:///%s" % db, nameType=int)
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)
def setUp(self): self.i = items.Items(GROUP_ID, "sqlite:///%s" % db)