Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/s/q/sqlalchemy-orm-tree-HEAD/sqlalchemy_tree/tests/Deletion.py   sqlalchemy-orm-tree(Download)
    def _delete_helper(self, name, result):
        node = db.session.query(Named).filter_by(name=name).one()
        db.session.delete(node)
        db.session.commit()
        self.assertEqual(get_tree_details(), result)
            db.session.query(Named).filter_by(name=u"child23").one())
        db.session.commit()
        self.assertEqual(get_tree_details(), self.combined_del_result)
 
    def test_combined_del_132(self):
            db.session.query(Named).filter_by(name=u"child212").one())
        db.session.commit()
        self.assertEqual(get_tree_details(), self.combined_del_result)
 
    def test_combined_del_213(self):
            db.session.query(Named).filter_by(name=u"child23").one())
        db.session.commit()
        self.assertEqual(get_tree_details(), self.combined_del_result)
 
    def test_combined_del_231(self):
            db.session.query(Named).filter_by(name=u"root1").one())
        db.session.commit()
        self.assertEqual(get_tree_details(), self.combined_del_result)
 
    def test_combined_del_312(self):

src/s/q/sqlalchemy-orm-tree-HEAD/sqlalchemy_tree/tests/ExplicitMove.py   sqlalchemy-orm-tree(Download)
        Named.tree.insert(node, target, position)
        db.session.commit()
        self.assertEqual(get_tree_details(), result)
 
    def test_child_into_root__platformer(self):