def test_delete(self):
        net = mock.Mock()
        network.delete(net)
        self.assertTrue(net.destroy.called)
Get a database connection from the pool.
dataset/ETHPy150Open F-Secure/see/see/context/resources/test/network_test.py/CreateTest.test_delete--crossover with--dataset/ETHPy150Open edgewall/trac/trac/db/api.py/DatabaseManager.get_connection