mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-30 14:20:46 +02:00
fix(tests): Run tests without the socks components and document their usage
This commit is contained in:
@ -1,3 +1,10 @@
|
||||
"""
|
||||
Usage:
|
||||
$ python -m venv .venv
|
||||
$ source .venv/bin/activate
|
||||
$ pip install -r requirements-testing.txt -r requirements.txt
|
||||
$ python ./quicktest.py
|
||||
"""
|
||||
import os
|
||||
import sys
|
||||
import argparse
|
||||
@ -65,7 +72,6 @@ class QuickDjangoTest(object):
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
self.tests = args
|
||||
self._tests()
|
||||
@ -102,6 +108,7 @@ class QuickDjangoTest(object):
|
||||
if failures:
|
||||
sys.exit(failures)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
"""
|
||||
What do when the user hits this file from the shell.
|
||||
|
Reference in New Issue
Block a user