X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=tests%2Fdbtest_multiproc.py;h=04520208a2164f85d81735fe070d28f33bae7524;hb=555ead275da590d2325c2fa4ef2652547100d72b;hp=f4c2a37aea0f2ffee7060dd85e2d801bb79d0aea;hpb=55b3836c58609850f760f3ed26cc6c868053c6ba;p=dak.git diff --git a/tests/dbtest_multiproc.py b/tests/dbtest_multiproc.py index f4c2a37a..04520208 100755 --- a/tests/dbtest_multiproc.py +++ b/tests/dbtest_multiproc.py @@ -9,7 +9,6 @@ from time import sleep import unittest def read_number(): - DBConn().reset() session = DBConn().session() result = session.query('foo').from_statement('select 7 as foo').scalar() sleep(0.1) @@ -18,9 +17,7 @@ def read_number(): class MultiProcTestCase(DBDakTestCase): """ - This TestCase checks that DBConn works with multiprocessing. A fresh - subprocess needs to call reset() on DBConn(). See function read_number() - for an example. + This TestCase checks that DBConn works with multiprocessing. """ def save_result(self, result):