import unittest
import time


class testProcess2(unittest.TestCase):

    def test_Dummy2(self):
        time.sleep(1)
self.assertEqual(0, os.getpid())
Getting tests to parallelize using nose in python