def test_SAMPHubServer_run():
 hub = SAMPHubServer(web_profile=False, mode='multiple', pool_size=1)
 hub.start()
 time.sleep(1)
 hub.stop()

def test_SAMPHubServer_run ( ) : hub = SAMPHubServer ( web_profile = False , mode = 'multiple' , pool_size = 1 ) hub . start ( ) time . sleep ( 1 ) hub . stop ( )
test that samphub can be run .