Add `manage.py` for `tests`

master
= 3 years ago
parent
commit
92c8eef214
Signed by: kiichan
GPG Key ID: 619DFD67F0976616
  1. 6
      CHANGELOG
  2. 15
      tests/manage.py

6
CHANGELOG

@ -1,3 +1,9 @@ @@ -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

@ -0,0 +1,15 @@ @@ -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…
Cancel
Save