(self)
| 868 | |
| 869 | class SingleCycleTest(UOWTest): |
| 870 | def teardown_test(self): |
| 871 | engines.testing_reaper.rollback_all() |
| 872 | # mysql can't handle delete from nodes |
| 873 | # since it doesn't deal with the FKs correctly, |
| 874 | # so wipe out the parent_id first |
| 875 | with testing.db.begin() as conn: |
| 876 | conn.execute(self.tables.nodes.update().values(parent_id=None)) |
| 877 | |
| 878 | def test_one_to_many_save(self): |
| 879 | Node, nodes = self.classes.Node, self.tables.nodes |
nothing calls this directly
no test coverage detected