fix(tests): Run tests without the socks components and document their usage

This commit is contained in:
Arkadiy Korotaev
2020-11-24 11:21:51 +01:00
parent dcdfb1b405
commit 4955d983a2
3 changed files with 18 additions and 2 deletions

View File

@ -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.