Browse Source

update config test to not fail. Needs updating according to new config options

python
Jørgen Lien Sellæg 5 years ago
parent
commit
9ad7c21407
  1. 6
      tests/python_bindings/Config_tests/config_test.py
  2. 4
      tests/stubs/config.cc
  3. 1
      tests/stubs/config.cpp

6
tests/python_bindings/Config_tests/config_test.py

@ -33,7 +33,7 @@ def project():
project.meson = meson
project.cmake = cmake
project.save_on_compile_or_run = True
project.clear_terminal_on_compile = False
# project.clear_terminal_on_compile = False
project.ctags_command = "ctags"
project.python_command = "python"
Config().project = project
@ -49,7 +49,7 @@ def source():
source.format_style_on_save_if_style_file_found = False
source.smart_inserts = False
source.show_map = False
source.map_font_size = "10px"
# source.map_font_size = "10px"
source.show_git_diff = False
source.show_background_pattern = False
source.show_right_margin = False
@ -58,7 +58,7 @@ def source():
source.default_tab_char = "c"
source.default_tab_size = 1
source.tab_indents_line = False
source.wrap_lines = False
# source.wrap_lines = False
source.highlight_current_line = False
source.show_line_numbers = False
source.enable_multiple_cursors = False

4
tests/stubs/config.cc

@ -1,4 +0,0 @@
#include "config.h"
Config::Config() {}
void Config::load() {}

1
tests/stubs/config.cpp

@ -2,4 +2,3 @@
Config::Config() {}
void Config::load() {}
void Config::init_module(py::module &) {}

Loading…
Cancel
Save