Ejemplo n.º 1
0
class TestChangeset(TestCase):
    def setup(self):
        super(TestChangeset, self).setup()
        self.changeset = Changeset()
        model.Session.add(self.changeset)
        model.Session.commit()

    def teardown(self):
        super(TestChangeset, self).teardown()
        self.changeset.purge()
        model.Session.commit()
        model.Session.remove()
Ejemplo n.º 2
0
class TestChangeset(TestCase):

    def setup(self):
        super(TestChangeset, self).setup()
        self.changeset = Changeset()
        model.Session.add(self.changeset)
        model.Session.commit()

    def teardown(self):
        super(TestChangeset, self).teardown()
        self.changeset.purge()
        model.Session.commit()
        model.Session.remove()
Ejemplo n.º 3
0
 def setup(self):
     super(TestChangeset, self).setup()
     self.changeset = Changeset()
     model.Session.add(self.changeset)
     model.Session.commit()
Ejemplo n.º 4
0
 def setup(self):
     super(TestChangeset, self).setup()
     self.changeset = Changeset()
     model.Session.add(self.changeset)
     model.Session.commit()