Exemple #1
0
	def test_process_halting(self):
		"""Tests the raising and killing of worker processes"""
		print("BIGTEST: Gracefully spawn/terminate all processes.")
		# [self.assertIs(worker.on(), True) for worker in laptop.roll]
		self.cxn.close()
		laptop.quit()
		time.sleep(3.1)
		for worker in reversed(laptop.roll):
			self.assertFalse(worker.on())
Exemple #2
0
	def tearDown(self):
		if self.cxn.is_open: self.cxn.close()
		laptop.quit()
		time.sleep(3)