diff --git a/aiida/manage/tests/__init__.py b/aiida/manage/tests/__init__.py index c3a6822dc2..258773db31 100644 --- a/aiida/manage/tests/__init__.py +++ b/aiida/manage/tests/__init__.py @@ -39,6 +39,12 @@ 'repo_dir': 'test_repo', 'config_dir': '.aiida', 'root_path': '', + 'broker_protocol': 'amqp', + 'broker_username': 'guest', + 'broker_password': 'guest', + 'broker_host': '127.0.0.1', + 'broker_port': 5672, + 'broker_virtual_host': '' } diff --git a/tests/manage/tests/test_pytest_fixtures.py b/tests/manage/tests/test_pytest_fixtures.py new file mode 100644 index 0000000000..2f7cc5b61f --- /dev/null +++ b/tests/manage/tests/test_pytest_fixtures.py @@ -0,0 +1,10 @@ +# -*- coding: utf-8 -*- +"""Tests for the AiiDA pytest fixtures.""" + +from aiida.manage.configuration import get_config +from aiida.manage.configuration.config import Config + + +def test_profile_config(aiida_profile): # pylint: disable=unused-argument + """Check that the config file created with the test profile passes validation.""" + Config.from_file(get_config().filepath)