Add manage.py
for tests
This commit is contained in:
parent
fff2d3e244
commit
92c8eef214
2 changed files with 21 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Sat, 14 Sep 2019 03:13:30 -0500
|
||||
Keaton <kii-chan@tutanota.com>
|
||||
Add `manage.py` for `tests`
|
||||
|
||||
--------------------
|
||||
|
||||
Sat, 14 Sep 2019 02:38:56 -0500
|
||||
Keaton <kii-chan@tutanota.com>
|
||||
Remove ed25519, add pynacl, documentation updates and preparation for PyPI
|
||||
|
|
15
tests/manage.py
Executable file
15
tests/manage.py
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env python
|
||||
import os
|
||||
import sys
|
||||
|
||||
if __name__ == '__main__':
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tests.settings')
|
||||
try:
|
||||
from django.core.management import execute_from_command_line
|
||||
except ImportError as exc:
|
||||
raise ImportError(
|
||||
"Couldn't import Django. Are you sure it's installed and "
|
||||
"available on your PYTHONPATH environment variable? Did you "
|
||||
"forget to activate a virtual environment?"
|
||||
) from exc
|
||||
execute_from_command_line(sys.argv)
|
Loading…
Reference in a new issue