Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sphuber committed Jan 19, 2022
1 parent 4967108 commit c0c6e35
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,13 @@ def _create_profile(name='test-profile', **kwargs):
'database_name': kwargs.pop('database_name', name),
'database_username': kwargs.pop('database_username', 'user'),
'database_password': kwargs.pop('database_password', 'pass'),
'broker_protocol': kwargs.pop('broker_protocol', 'amqp'),
'broker_username': kwargs.pop('broker_username', 'guest'),
'broker_password': kwargs.pop('broker_password', 'guest'),
'broker_host': kwargs.pop('broker_host', 'localhost'),
'broker_port': kwargs.pop('broker_port', 5672),
'broker_virtual_host': kwargs.pop('broker_virtual_host', ''),
'broker_parameters': kwargs.pop('broker_parameters', {}),
'repository_uri': f"file:///{os.path.join(repository_dirpath, f'repository_{name}')}",
}

Expand Down

0 comments on commit c0c6e35

Please sign in to comment.