Komei Shimamura 129929c346 Fix a issue for kafka-publisher and refactor the test code
Fix a issue which causes error when default policy is selected.
Add test codes to avoid the same mistakes again.
Fix a bug of the test code which is:
* KafkaBrokerPublisher tries to connect localhost when __init__
  is called because of the lack of mocking _get_client function
  before initializing KafkaBrokerPublisher.

Closes-Bug: 1441175
Closes-Bug: 1441258
Change-Id: I306db443a866860ee45b2362b8a0cd2a59d8c3a2
2015-04-09 00:55:58 -07:00
..
2015-01-29 14:27:16 +00:00
2015-01-29 14:27:16 +00:00
2015-01-29 14:27:16 +00:00
2015-03-27 16:53:06 +08:00