{"action":"opened","issue":{"url":"https://api.github.com/repos/labrad/pylabrad/issues/148","labels_url":"https://api.github.com/repos/labrad/pylabrad/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/labrad/pylabrad/issues/148/comments","events_url":"https://api.github.com/repos/labrad/pylabrad/issues/148/events","html_url":"https://github.com/labrad/pylabrad/issues/148","id":102217536,"number":148,"title":"Programmatically start/stop servers for unit tests?","user":{"login":"chrismacklin","id":11823706,"avatar_url":"https://avatars.githubusercontent.com/u/11823706?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismacklin","html_url":"https://github.com/chrismacklin","followers_url":"https://api.github.com/users/chrismacklin/followers","following_url":"https://api.github.com/users/chrismacklin/following{/other_user}","gists_url":"https://api.github.com/users/chrismacklin/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismacklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismacklin/subscriptions","organizations_url":"https://api.github.com/users/chrismacklin/orgs","repos_url":"https://api.github.com/users/chrismacklin/repos","events_url":"https://api.github.com/users/chrismacklin/events{/privacy}","received_events_url":"https://api.github.com/users/chrismacklin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-20T19:31:35Z","updated_at":"2015-08-20T19:31:35Z","closed_at":null,"body":"Is there a recommended way to start and stop servers programmatically to ensure that test suites do not require manually launching servers?\r\n\r\n```test_refresh.py``` makes a call to ```util.syncRunServer(...server...)``` which seems fine to me, but I don't understand the implications of \"Run a labrad server of the specified class in a synchronous context.\" from the doc for this function."}}