{"action":"created","issue":{"url":"https://api.github.com/repos/revsys/django-test-plus/issues/4","labels_url":"https://api.github.com/repos/revsys/django-test-plus/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/revsys/django-test-plus/issues/4/comments","events_url":"https://api.github.com/repos/revsys/django-test-plus/issues/4/events","html_url":"https://github.com/revsys/django-test-plus/issues/4","id":82446715,"number":4,"title":"Make it so you can import TestCase from test_plus","user":{"login":"epicserve","id":191620,"avatar_url":"https://avatars.githubusercontent.com/u/191620?v=3","gravatar_id":"","url":"https://api.github.com/users/epicserve","html_url":"https://github.com/epicserve","followers_url":"https://api.github.com/users/epicserve/followers","following_url":"https://api.github.com/users/epicserve/following{/other_user}","gists_url":"https://api.github.com/users/epicserve/gists{/gist_id}","starred_url":"https://api.github.com/users/epicserve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epicserve/subscriptions","organizations_url":"https://api.github.com/users/epicserve/orgs","repos_url":"https://api.github.com/users/epicserve/repos","events_url":"https://api.github.com/users/epicserve/events{/privacy}","received_events_url":"https://api.github.com/users/epicserve/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-29T14:17:34Z","updated_at":"2015-05-29T20:02:58Z","closed_at":null,"body":"Just a thought, what about making it so you can import ``TestCase`` from ``test_plus.__init__.py``?\r\n\r\nThis just seems like it might be little nicer \r\n\r\n```python\r\nfrom test_plus import TestCase\r\n```\r\n\r\nthan this:\r\n\r\n```python\r\nfrom test_plus.test import TestCase\r\n```\r\n\r\nI think adding something like the following in ``test_plus.__init__.py`` would do the trick:\r\n\r\n```python\r\nfrom .test import TestCase\r\n\r\n__all__ = [\r\n    'TestCase',\r\n]\r\n```"},"comment":{"url":"https://api.github.com/repos/revsys/django-test-plus/issues/comments/106919811","html_url":"https://github.com/revsys/django-test-plus/issues/4#issuecomment-106919811","issue_url":"https://api.github.com/repos/revsys/django-test-plus/issues/4","id":106919811,"user":{"login":"epicserve","id":191620,"avatar_url":"https://avatars.githubusercontent.com/u/191620?v=3","gravatar_id":"","url":"https://api.github.com/users/epicserve","html_url":"https://github.com/epicserve","followers_url":"https://api.github.com/users/epicserve/followers","following_url":"https://api.github.com/users/epicserve/following{/other_user}","gists_url":"https://api.github.com/users/epicserve/gists{/gist_id}","starred_url":"https://api.github.com/users/epicserve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epicserve/subscriptions","organizations_url":"https://api.github.com/users/epicserve/orgs","repos_url":"https://api.github.com/users/epicserve/repos","events_url":"https://api.github.com/users/epicserve/events{/privacy}","received_events_url":"https://api.github.com/users/epicserve/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T20:02:58Z","updated_at":"2015-05-29T20:02:58Z","body":"You're logic on why you didn't make sense to me. However another way to think about it, is with ``django.test``, django is a web framework and not a Test helper library, so ``from django import TestCase`` isn't as clear. Whereas with ``from test_plus import TestCase`` test_plus is a Test helper library.\r\n\r\nAnyhow, thank you for making this public. It's ironic too because I was thinking before I started the day today that I needed to focus on making my tests better and more DRY! :)"}}