Commit Graph

77 Commits

Author SHA1 Message Date
Daniel Hahler ea4de13344 Minor CI/test improvements (#992)
* ci: Travis: pip-list, nvim-version

* tests: remove unused fixture argument
2020-02-02 07:10:11 +01:00
Daniel Hahler e8790b1d8f minor: rewrite/expand show_documentation (#980)
* minor: rewrite/expand show_documentation

* tests: improve 'documentation docstrings'
2020-01-17 13:48:22 +01:00
Dave Halter d57edde2e8 Update tests 2019-12-20 17:20:02 +01:00
Daniel Hahler c80a08d983 Fix invalidating cache with jedi#show_call_signatures (#968) 2019-12-08 17:26:24 +01:00
Daniel Hahler 4f2499e4f2 ci/tests: update dependencies 2019-08-19 01:06:32 +02:00
Dave Halter 016fb7c78e Merge pull request #915 from davidhalter/typeshed
With typeshed coming to Jedi, builtin modules should be displayed
2019-06-23 01:13:14 +02:00
Dave Halter e736eea934 Use staticmethod for call signature tests instead of str
str has different signatures for Python 2 and 3 and is therefore annoying to test.
2019-06-21 00:28:18 +02:00
Dave Halter 6c6b4dcf92 Make sure that formatting happens on unicode 2019-06-20 23:56:46 +02:00
Dave Halter 1a053d2a23 Fix some call signature tests 2019-06-20 23:37:43 +02:00
Daniel Hahler 914754a04e Disable smart_auto_mappings by default
Ref: https://github.com/davidhalter/jedi-vim/issues/568
2019-04-06 01:02:23 +02:00
Daniel Hahler 132d8506ab tests: move/rename/cleanup vspec based tests (#860)
The main motivation is to being able to use normal/other pytest based
tests.

Therefore this moves everything from conftest into test_integration
itself.
2018-08-01 23:57:37 +02:00
Daniel Hahler 88502891ba Report coverage (#863) 2018-07-30 22:45:06 +02:00
Daniel Hahler 43a9a9b191 Fix test/signatures.vim: ensure there is no indent (nvim) 2018-07-30 14:24:53 +02:00
Daniel Hahler e05f34646e Fix test/signatures.vim: take into account &ruler (nvim) 2018-07-30 14:24:53 +02:00
Daniel Hahler 713e78dd39 tests: harden/fix completions with regard to longest/nvim mostly 2018-07-30 14:24:53 +02:00
Daniel Hahler e49638ffc8 Upgrade vim-vspec to 1.8.1 (#862)
This fixes some tests to make it work with the newer version.
2018-07-30 11:16:51 +02:00
Daniel Hahler 40fc5ab27f test/signatures.vim: remove trailing spaces 2018-07-25 02:21:54 +02:00
Dave Halter a54729ef63 Use the official Jedi goto API instead of multiple calls
Fixes #802.
2018-07-04 00:03:11 +02:00
Daniel Hahler 7894b38c0c tests: move .cache to build, rename test/_utils.vim 2018-04-19 21:55:19 +02:00
Dave Halter 65190a1856 A pyimport test failed sometimes on travis
There are sometimes slight differences in installed Python versions (and also Python versions within VIM versions).
2017-10-19 09:20:43 +02:00
Dave Halter 7e6811cb4b Fix call signature tests
Now all tests should be fixed again. Also removed a deprecated call to call_name.
2017-10-19 09:20:43 +02:00
Dave Halter 8d547695e2 Fix goto tests 2017-10-19 09:20:43 +02:00
Dave Halter d42f56bc82 Buffer names seem to be an empty string sometimes and not None 2017-10-19 09:20:43 +02:00
Dave Halter 1c7c9064b7 test titles don't need underscores 2017-10-19 09:20:43 +02:00
Dave Halter edde267f6b Fix a pyimport test fail 2017-10-19 09:20:43 +02:00
Dave Halter 641c88111d Fix completion tests. 2017-10-19 09:20:43 +02:00
Daniel Hahler 72c1a332d2 jedi#show_documentation: do not use quotes around bufname 2017-09-29 18:36:04 +02:00
Jacob Niehus 0c2831d9a6 Fix parameters missing from command line call signatures
Parameters (or ellipsis) should show up in call signatures even when the
index of the current argument is unknown.

Closes https://github.com/davidhalter/jedi-vim/pull/499.
2015-11-12 02:03:46 +01:00
Jacob Niehus 13a4a0c0c4 Fix signatures only working in a single buffer 2015-11-07 11:43:56 -07:00
Jacob Niehus 4b32847110 Fix issues with wildignore and tag stack
Closes https://github.com/davidhalter/jedi-vim/pull/483.
Fixes https://github.com/davidhalter/jedi-vim/issues/482.
2015-10-23 00:31:28 +02:00
Dave Halter 95d8eb1b08 Merge pull request #479 from blueyed/fix-cached-signature-call
Handle parenthesis with show_call_signatures' cache
2015-10-18 21:45:18 +02:00
Daniel Hahler 431a0b11e5 Handle parenthesis with show_call_signatures' cache
After `o`, call signatures should show up after `abs(`.
2015-10-18 21:22:11 +02:00
Daniel Hahler 5c868b9a1f Use utf8 ellipsis char instead of 3 dots 2015-10-18 21:16:37 +02:00
Jacob Niehus 62c423bf29 Add test case for truncation of cmdline signatures 2015-10-18 21:16:37 +02:00
Daniel Hahler afc02a3621 Wrap jedi#configure_call_signatures in augroup 2015-09-10 11:55:03 +02:00
Daniel Hahler 91c2a031df Add tests for smart_auto_mappings 2015-08-19 22:37:32 +02:00
Daniel Hahler 439e50e9d1 Use use_tabs_not_buffers=0 by default
Ref: https://github.com/davidhalter/jedi-vim/issues/408#issuecomment-101997691
2015-06-21 22:06:24 +02:00
Dave Halter d65c35a69d Problem with multi definitions tokenize tests. Jedi behaves different now, therefore I have disabled the tests. Once we find another example where it actually makes sense to test it, we can reenable the tests. 2015-03-31 00:54:58 +02:00
Dave Halter cc9837dc23 Trying to fix the issue of non-disappearing call signatures, #276, #278. 2015-03-28 03:00:58 +01:00
Dave Halter 43dcc4809f Test if this helps fixing the online tests that are not working. 2015-03-27 12:25:40 +01:00
Dave Halter 2ee17b3be6 Correct the signatures test again. 2015-03-26 15:21:58 +01:00
Dave Halter 075cd9ce69 call signature escape characters moved from == to =`=, because that's something way less common. 2015-03-25 16:29:06 +01:00
Dave Halter 2ba5656606 Forgot to replace the call signature character in the tests. 2015-03-25 14:57:06 +01:00
Jacob Niehus fb1eaa611e Add vspec tests for cmdline call signatures 2014-12-06 14:47:45 -07:00
itchyny 6cc1d8c34a replace function names starting with g: to CamelCase (fix #326) 2014-11-30 10:01:04 +09:00
Dave Halter c32844dfec fix a few jedi-vim tests that have either broken due to the new jedi version or because they were wrong. 2014-05-05 12:17:38 +02:00
LittleQ b8269d70d4 added tests for checking other goto will perform in only one window, no other split buffer will be opened accidentially 2013-09-15 03:03:59 +08:00
LittleQ a247e9b1c7 make sure it really opened a split window 2013-09-15 02:19:48 +08:00
LittleQ aa56af0d9c only need to check the opening direction is correct 2013-09-15 02:06:17 +08:00
David Halter b618e5b863 signatures disabled tests 2013-08-28 20:36:27 +04:30