taskwiki/tests
Tomas Janousek 78105f4aca tests: Fix setting vim up twice
Since 8d8fd2c20b, the first `setup`
invocation sets g:taskwiki_markup_syntax="None" which is then detected
in `check_sanity` and vim is restarted, this time with correct
g:taskwiki_markup_syntax. This is wasteful and weird, but makes a bit of
sense as a hack to make `MultiSyntaxIntegrationTest` work as the
test_syntax fixture is not available in `setup`.

To fix this:

 * make `teardown` idempotent
 * let `check_sanity` fail early if the client is not set up yet
 * disable `setup` in `MultiSyntaxIntegrationTest`
 * let the sanity check and restart logic handle the setup in
   `MultiSyntaxIntegrationTest` once `markup` is available
2020-07-02 09:51:56 -04:00
..
__init__.py tests: Add tests for util 2015-03-23 17:29:10 +01:00
base.py tests: Fix setting vim up twice 2020-07-02 09:51:56 -04:00
conftest.py tests: Report details about failed assertions in tests.base 2020-07-02 09:51:56 -04:00
test_choose.py tests: Add tests for selection of unicode projects and tags 2017-01-07 19:37:40 +01:00
test_config.py tests: Fix typo varialbes → variables 2020-07-02 09:51:56 -04:00
test_mappings.py tests: Fix typo varialbes → variables 2020-07-02 09:51:56 -04:00
test_preset.py Implemented multIi-markup tests in vim of viewport and preset 2018-10-18 01:00:29 -04:00
test_preset_parsing.py Implemented multi-markup parsing tests for viewport and preset 2018-10-18 01:00:29 -04:00
test_selected.py tests: Add regression test for multiple caches 2017-01-27 22:23:33 +01:00
test_splits.py python3: Make tests work 2016-12-16 04:11:09 +01:00
test_syntax_parsing.py extra-syntaxes: First of test suite of extra syntaxes using HEADER macro with test_syntax_parsing 2018-10-18 01:00:29 -04:00
test_util.py tests: test_util: Use MockVim from tests.base instead of redefining 2017-01-08 21:00:13 +01:00
test_viewport.py Implemented multIi-markup tests in vim of viewport and preset 2018-10-18 01:00:29 -04:00
test_viewport_parsing.py Implemented multi-markup parsing tests for viewport and preset 2018-10-18 01:00:29 -04:00
test_vwtask.py VimwikiTask: Omit 00:00 time from due date 2017-01-27 20:24:34 +01:00
test_vwtask_parsing.py tests: Fix invalid relative imports 2016-12-16 15:09:58 +01:00