def test_get_setting_from_django_settings(self, mock_write_info):
     test_settings = {'test_key': 'test_value'}
     cmds.get_setting(test_settings, 'test_key')
     mock_write_info.assert_called_with("test_key: 'test_value'")
 def test_get_all_settings_from_django_settings(self, mock_write_info, _):
     test_settings = {}
     cmds.get_setting(test_settings, 'all')
     mock_write_info.assert_called_with("{'one': 1, 'two': 2}")
 def test_get_setting(self, mock_get_key, mock_write_info):
     test_settings = {'test_key': 'test_value'}
     mock_get_key.return_value = (test_settings, 'test_key')
     cmds.get_setting(test_settings, 'test_key')
     mock_write_info.assert_called_with("test_key: 'test_value'")