{"action":"created","issue":{"url":"https://api.github.com/repos/quantmind/pulsar/issues/207","repository_url":"https://api.github.com/repos/quantmind/pulsar","labels_url":"https://api.github.com/repos/quantmind/pulsar/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/quantmind/pulsar/issues/207/comments","events_url":"https://api.github.com/repos/quantmind/pulsar/issues/207/events","html_url":"https://github.com/quantmind/pulsar/issues/207","id":137830998,"number":207,"title":" the helloworld test will always succeed？","user":{"login":"bright-pan","id":463740,"avatar_url":"https://avatars.githubusercontent.com/u/463740?v=3","gravatar_id":"","url":"https://api.github.com/users/bright-pan","html_url":"https://github.com/bright-pan","followers_url":"https://api.github.com/users/bright-pan/followers","following_url":"https://api.github.com/users/bright-pan/following{/other_user}","gists_url":"https://api.github.com/users/bright-pan/gists{/gist_id}","starred_url":"https://api.github.com/users/bright-pan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bright-pan/subscriptions","organizations_url":"https://api.github.com/users/bright-pan/orgs","repos_url":"https://api.github.com/users/bright-pan/repos","events_url":"https://api.github.com/users/bright-pan/events{/privacy}","received_events_url":"https://api.github.com/users/bright-pan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/quantmind/pulsar/labels/test","name":"test","color":"0b02e1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-02T10:11:48Z","updated_at":"2016-03-03T01:18:30Z","closed_at":"2016-03-03T01:18:30Z","body":"i test helloworld test in shell, but i found the test fuction (use @asyncio.corroutine) always ok.\r\n\r\n\r\ni create tests.py file:\r\n```python\r\nimport unittest\r\nimport asyncio\r\n\r\nfrom pulsar import send, SERVER_SOFTWARE, get_application, get_actor\r\nfrom pulsar.apps.http import HttpClient\r\nfrom pulsar.apps.test import dont_run_with_thread\r\n\r\n\r\nclass TestHelloWorldThread(unittest.TestCase):\r\n\r\n    @asyncio.coroutine\r\n    def testNone(self):\r\n        self.assertIsNone('i not None')\r\n```\r\npython -m unittest tests -v\r\n```\r\ntestNone (tests.TestHelloWorldThread) ... ok\r\n\r\n----------------------------------------------------------------------\r\nRan 1 test in 0.000s\r\n\r\nOK\r\n```\r\n\r\nthe test result is ok?\r\nwhy?"},"comment":{"url":"https://api.github.com/repos/quantmind/pulsar/issues/comments/191524573","html_url":"https://github.com/quantmind/pulsar/issues/207#issuecomment-191524573","issue_url":"https://api.github.com/repos/quantmind/pulsar/issues/207","id":191524573,"user":{"login":"bright-pan","id":463740,"avatar_url":"https://avatars.githubusercontent.com/u/463740?v=3","gravatar_id":"","url":"https://api.github.com/users/bright-pan","html_url":"https://github.com/bright-pan","followers_url":"https://api.github.com/users/bright-pan/followers","following_url":"https://api.github.com/users/bright-pan/following{/other_user}","gists_url":"https://api.github.com/users/bright-pan/gists{/gist_id}","starred_url":"https://api.github.com/users/bright-pan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bright-pan/subscriptions","organizations_url":"https://api.github.com/users/bright-pan/orgs","repos_url":"https://api.github.com/users/bright-pan/repos","events_url":"https://api.github.com/users/bright-pan/events{/privacy}","received_events_url":"https://api.github.com/users/bright-pan/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T01:18:30Z","updated_at":"2016-03-03T01:18:30Z","body":"sorry， i make a mistake for it,  i am not review pulsar test regulation in pulsar.apps.test.__init__.py\r\n```\r\nIntroduction\r\n====================\r\nTo get started with pulsar asynchronous test suite is easy. The first thing to\r\ndo is to create a python ``script`` on the top level directory of your library,\r\nlet's call it ``runtests.py``::\r\n    from pulsar.apps import TestSuite\r\n    if __name__ == '__main__':\r\n        TestSuite(description='Test suite for my library',\r\n                  modules=('regression',\r\n                           ('examples', 'tests'))).start()\r\n```\r\n\r\n"}}