Command : $ django-admin shell --settings=swh.web.settings.tests /home/kalpitk/.virtualenvs/swh/lib/python3.6/site-packages/swh/scheduler/__init__.py:69: DeprecationWarning: Call to deprecated class SWHRemoteAPI. (Use the RPCClient instead) -- Deprecated since version 0.0.64. return SchedulerBackend(**args) Traceback (most recent call last): File "/home/kalpitk/.virtualenvs/swh/bin/django-admin", line 10, in sys.exit(execute_from_command_line()) File "/home/kalpitk/.virtualenvs/swh/lib/python3.6/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line utility.execute() File "/home/kalpitk/.virtualenvs/swh/lib/python3.6/site-packages/django/core/management/__init__.py", line 308, in execute settings.INSTALLED_APPS File "/home/kalpitk/.virtualenvs/swh/lib/python3.6/site-packages/django/conf/__init__.py", line 56, in __getattr__ self._setup(name) File "/home/kalpitk/.virtualenvs/swh/lib/python3.6/site-packages/django/conf/__init__.py", line 41, in _setup self._wrapped = Settings(settings_module) File "/home/kalpitk/.virtualenvs/swh/lib/python3.6/site-packages/django/conf/__init__.py", line 110, in __init__ mod = importlib.import_module(self.SETTINGS_MODULE) File "/home/kalpitk/.virtualenvs/swh/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 994, in _gcd_import File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 665, in _load_unlocked File "", line 678, in exec_module File "", line 219, in _call_with_frames_removed File "/home/kalpitk/swh-environment/swh-web/swh/web/settings/tests.py", line 95, in from swh.web.tests.data import get_tests_data, override_storages # noqa File "/home/kalpitk/swh-environment/swh-web/swh/web/tests/data.py", line 404, in _init_content_code_data_exts() File "/home/kalpitk/swh-environment/swh-web/swh/web/tests/data.py", line 380, in _init_content_code_data_exts _content_code_data_exts, True) File "/home/kalpitk/swh-environment/swh-web/swh/web/tests/data.py", line 369, in _init_content_tests_data storage = get_tests_data()['storage'] File "/home/kalpitk/swh-environment/swh-web/swh/web/tests/data.py", line 302, in get_tests_data _tests_data = _init_tests_data() File "/home/kalpitk/swh-environment/swh-web/swh/web/tests/data.py", line 208, in _init_tests_data persons.add(release['author']['id']) KeyError: 'id'