{"action":"opened","issue":{"url":"https://api.github.com/repos/juju/python-libjuju/issues/27","repository_url":"https://api.github.com/repos/juju/python-libjuju","labels_url":"https://api.github.com/repos/juju/python-libjuju/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/juju/python-libjuju/issues/27/comments","events_url":"https://api.github.com/repos/juju/python-libjuju/issues/27/events","html_url":"https://github.com/juju/python-libjuju/issues/27","id":192567523,"number":27,"title":"Integration tests","user":{"login":"petevg","id":183694,"avatar_url":"https://avatars.githubusercontent.com/u/183694?v=3","gravatar_id":"","url":"https://api.github.com/users/petevg","html_url":"https://github.com/petevg","followers_url":"https://api.github.com/users/petevg/followers","following_url":"https://api.github.com/users/petevg/following{/other_user}","gists_url":"https://api.github.com/users/petevg/gists{/gist_id}","starred_url":"https://api.github.com/users/petevg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petevg/subscriptions","organizations_url":"https://api.github.com/users/petevg/orgs","repos_url":"https://api.github.com/users/petevg/repos","events_url":"https://api.github.com/users/petevg/events{/privacy}","received_events_url":"https://api.github.com/users/petevg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-30T13:38:19Z","updated_at":"2016-11-30T13:38:19Z","closed_at":null,"body":"I'd very much like it if python-libjuju had integration tests with the following properties:\r\n\r\n1) They don't run by default, but can be run with \"tox integration\" or similar. (This is because they may take a long time to run.)\r\n2) They all inherit from a class that creates a new, uniquely named model, runs tests, then tears down that model (this way, the tests won't accidentally clobber your production code.)\r\n3) They sanity check deploys for wiki-simple and a bundle with placement and machine directives. (This would save us from my laziness, where I tested a bundle with placement and machine directives, but didn't test the simpler case, and managed to break addUnits.)\r\n\r\nI'll try to set aside and write something like the above -- I wanted to think aloud here in case other people had feedback, or somebody has the spare time right now to write them, though :-)"}}
{"actor":{"display_login":"petevg"}}