Traceback (most recent call last):


 "/<<PKGBUILDDIR>>/tests/unit/test_master.py", line 313, in test_publish_user_authenticated_missing_auth_list

with patch('salt.acl.PublisherACL.user_is_blacklisted', MagicMock(return_value=False)), \
AttributeError: __enter__

Traceback (most recent call last):


 "/usr/local/lib/python3.6/dist-packages/django/db/backends/base/base.py", line 217, in ensure_connection

self.connect()


 "/usr/local/lib/python3.6/dist-`packages/django/db/backends/base/base.py", line 195, in connect

self.connection = self.get_new_connection(conn_params)


 "/usr/local/lib/python3.6/dist-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection

connection = Database.connect(**conn_params)


 "/usr/local/lib/python3.6/dist-packages/psycopg2/__init__.py", line 126, in connect

conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: could not translate host name "postgres" to address: Name or service not known
