Skip to content

Commit

Permalink
update path to config file
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonray committed Dec 24, 2023
1 parent adb5c53 commit a9336ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pulpo_messaging/tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ def test_config_set_nested(self):
self.assertEqual(config.get('k.k2a.k3'), 'v1')

def test_load_config_from_file(self):
config = Config(json_file_path='./pulpo-config.json')
config = Config(json_file_path='./pulpo-config-fqa.json')
self.assertEqual(config.get('shutdown_after_number_of_empty_iterations'), 7)
self.assertEqual(config.get('file_queue_adapter.base_path'), '/tmp/pulpo/fqa')
self.assertEqual(config.get('file_queue_adapter').get('base_path'), '/tmp/pulpo/fqa')

def test_load_config_from_file_then_apply_args(self):
config = Config(json_file_path='./pulpo-config.json')
config = Config(json_file_path='./pulpo-config-fqa.json')
self.assertEqual(config.get('shutdown_after_number_of_empty_iterations'), 7)
self.assertEqual(config.get('file_queue_adapter.base_path'), '/tmp/pulpo/fqa')

Expand Down

0 comments on commit a9336ed

Please sign in to comment.