Traceback (most recent call last):


 "/<<PKGBUILDDIR>>/tests/unit/ssh/test_roster_defaults.py", line 64, in test_roster_defaults_flat

with patch('salt.roster.get_roster_file', MagicMock(return_value=ROSTER)):
AttributeError: __enter__

Traceback (most recent call last):


 "manage.py", line 12, in <module>

execute_from_command_line(sys.argv)


 "/usr/local/python3/lib/python3.6/site-packages/django/core/management/__init__.py", line 371, in execute_from_command_line

utility.execute()


 "/usr/local/python3/lib/python3.6/site-packages/django/core/management/__init__.py", line 347, in execute

django.setup()


 "/usr/local/python3/lib/python3.6/site-packages/django/__init__.py", line 24, in setup

apps.populate(settings.INSTALLED_APPS)


 "/usr/local/python3/lib/python3.6/site-packages/django/apps/registry.py", line 89, in populate

app_config = AppConfig.create(entry)


 "/usr/local/python3/lib/python3.6/site-packages/django/apps/config.py", line 90, in create

module = import_module(entry)


 "/usr/local/python3/lib/python3.6/importlib/__init__.py", line 126, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "<frozen importlib._bootstrap>", line 978, in _gcd_import


 "<frozen importlib._bootstrap>", line 961, in _find_and_load


 "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 655, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 678, in exec_module


 "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed


 "/usr/local/python3/lib/python3.6/site-packages/django_nose/__init__.py", line 5, in <module>

from django_nose.runner import BasicNoseRunner, NoseTestSuiteRunner


 "/usr/local/python3/lib/python3.6/site-packages/django_nose/runner.py", line 285, in <module>

class BaseRunner(DiscoverRunner):


 "/usr/local/python3/lib/python3.6/site-packages/django_nose/runner.py", line 287, in BaseRunner

options = _get_options()


 "/usr/local/python3/lib/python3.6/site-packages/django_nose/runner.py", line 143, in _get_options

django_opts = [opt.dest for opt in BaseCommand.option_list] + ['version']
AttributeError: type object 'BaseCommand' has no attribute 'option_list'