Skip to content
This repository has been archived by the owner on Mar 22, 2018. It is now read-only.

Commit

Permalink
service: --bus-uri no longer has a default
Browse files Browse the repository at this point in the history
Closes #28
  • Loading branch information
ashcrow authored and mbarnes committed Mar 8, 2017
1 parent 2dcd844 commit 4d5c876
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/commissaire_service/service/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def add_service_arguments(parser):
--config-file (string, no default)
--bus-exchange (string, with default)
--bus-uri (string, with default)
--bus-uri (string, no default)
:param parser: An argument parser instance
:type parser: argparse.ArgumentParser
Expand All @@ -51,7 +51,6 @@ def add_service_arguments(parser):
help='Message bus exchange name.')
parser.add_argument(
'--bus-uri', type=str, metavar='BUS_URI',
default='redis://127.0.0.1:6379/', # FIXME Remove before release
help=(
'Message bus connection URI. See: '
'http://kombu.readthedocs.io/en/latest/userguide/connections.html')) # noqa
Expand Down
2 changes: 1 addition & 1 deletion test/test_service_add_service_arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ def test_add_service_arguments(self):

# Check for presence of defaults.
self.assertIsNone(args.config_file)
self.assertIsNone(args.bus_uri)
self.assertIsNotNone(args.bus_exchange)
self.assertIsNotNone(args.bus_uri)

0 comments on commit 4d5c876

Please sign in to comment.