diff --git a/README.rst b/README.rst index 2c832b2..a0a89a0 100644 --- a/README.rst +++ b/README.rst @@ -15,7 +15,7 @@ Installation You can get django-skd-smoke by using pip:: - $ pip install https://github.com/steelkiwi/django-skd-smoke/archive/master.zip + $ pip install django-skd-smoke Usage diff --git a/skd_smoke/__init__.py b/skd_smoke/__init__.py index ed5803c..82cd1c2 100644 --- a/skd_smoke/__init__.py +++ b/skd_smoke/__init__.py @@ -62,8 +62,8 @@ def dict_or_callable(d): 'django-skd-smoke: Configuration parameter "%s" should be ' \ '%s but is %s with next value: %s.' -LINK_TO_DOCUMENTATION = 'For more information please review ' \ - 'skd_smoke/tests.py or refer to project documentation on ' \ +LINK_TO_DOCUMENTATION = \ + 'For more information please refer to project documentation on ' \ 'https://github.com/steelkiwi/django-skd-smoke#configuration.' UNKNOWN_HTTP_METHOD_MSG = \ diff --git a/skd_smoke/tests.py b/skd_smoke/tests.py deleted file mode 100644 index 1ec4a1c..0000000 --- a/skd_smoke/tests.py +++ /dev/null @@ -1,38 +0,0 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - -from . import SmokeTestCase - - -class InitialSmokeTestCase(SmokeTestCase): - """ - Just example of using library. You can test it in your project if you run - ``./manage.py test skd_smoke``. Correct usage requires subclass creation of - ``skd_smoke.SmokeTestCase`` inside any of your project ``tests`` module. - """ - - TESTS_CONFIGURATION = ( - # (url, status, method, { - # 'comment': None, - # 'initialize': None, - # 'url_kwargs': None, - # 'request_data': None, - # 'user_credentials': None - # 'redirect_to': None - # }) - ('admin:login', 200, 'GET'), - # the same: - # ('admin:login', 200, 'GET', {}), - - # authenticated users only - # ('profile', 302, 'GET'), - - # post queries only - # ('/only_post/, 405, 'GET'), - - # non-existent url - # ('/something/, 404, 'GET'), - - # initialize - # ('/list_url/', 200, 'GET', {'initialize': create_list}) - )