'Options passed by command line override all other configuration
sources'

def test_simple_config_command_line_overrides_everything(self):

    fake_read_system = (lambda : {'electrum_path': 'a'})
    fake_read_user = (lambda _: {'electrum_path': 'b'})
    read_user_dir = (lambda : self.user_dir)
    config = SimpleConfig(options=self.options, read_system_config_function=fake_read_system, read_user_config_function=fake_read_user, read_user_dir_function=read_user_dir)
    self.assertEqual(self.options.get('electrum_path'), config.get('electrum_path'))
