from nose.tools import *
from CherrypyEngine import CherrypyServer
from WorkshopService import WorkshopService

class TestCherrypyEngine:
	pass
	# @timed(5)
	# def testStartCherrypyServer(self):
		# cherrypyServer = CherrypyServer()
		# cherrypyServer.run(WorkshopService())
		# while not cherrypyServer.ServerStarted:
			# pass
	
	# @timed(10)
	# def testStopCherrypyServer(self):
		# cherrypyServer = CherrypyServer(False)
		# cherrypyServer.run(WorkshopService())
		# while not cherrypyServer.ServerStarted:
			# pass
			
		# cherrypyServer.stop()
		# while not cherrypyServer.ServerStopped:
			# pass