1
0
forked from VimPlug/jedi
Commit Graph

31 Commits

Author SHA1 Message Date
Dave Halter
d986c44b94 Merge with master
The deprecation of Python2.6 and the insertion of environments made it quite difficult to merge.
2018-01-20 19:32:59 +01:00
Dave Halter
877383b110 Add a test to avoid encoding issues. Fixes #1003 2018-01-20 18:28:29 +01:00
Hugo
8cf708d0d4 Remove redundant parentheses 2018-01-07 10:40:06 +02:00
Dave Halter
ac21fc376e More Script fixture conversions in test_evaluate 2017-12-29 19:08:09 +01:00
Dave Halter
a9ebd92c20 Add a way to specify environments in tox 2017-12-19 19:02:57 +01:00
Dave Halter
e71f0062dd Get a lot of tests passing 2017-11-26 17:48:00 +01:00
Dave Halter
0f4b7db56a Move jedi parser cache tests to parso. 2017-05-19 15:04:28 -04:00
Dave Halter
fb8ed61b87 Add a way to cwd into a tmpdir. 2017-04-04 21:03:45 +02:00
Dave Halter
eaf0100446 Some analysis improvements. 2016-12-11 15:03:19 +01:00
Dave Halter
2ce66a9508 Imports belong to the top of the module. 2016-06-14 18:09:08 +02:00
Dave Halter
6bad5a924b Making it possible for static analysis tests to be skipped if the python version doesn't match. 2015-12-22 17:37:28 +01:00
Dave Halter
03efbca586 Tried to get the recursion issues with if stmts working. 2015-11-16 11:44:25 +01:00
immerrr
a6512f7702 Move clean_jedi_cache fixture to top-level conftest.py
Otherwise doctest module running in jedi/ subdirectory will not find it.
2015-10-21 18:04:32 +03:00
Dave Halter
7e0edc4776 preparation for warnings in static analysis 2014-06-26 11:57:44 +02:00
Dave Halter
0f7a17090c static analysis start positions are now tested 2014-05-16 15:03:59 +02:00
Dave Halter
7abdc375c2 add tests for attribute errors 2014-05-11 16:44:58 +02:00
Dave Halter
7b525285bd static analysis import tests 2014-05-11 15:18:48 +02:00
Dave Halter
c92113a7b1 improved static analysis test base 2014-05-11 13:30:29 +02:00
Dave Halter
40a54961cd testing structure for static analysis. 2014-05-11 12:09:42 +02:00
Dave Halter
62bd8bd8ef make the parametrizing of tests nicer for integration tests 2014-04-14 17:07:34 +02:00
David Halter
7ab00242a8 finally change name of test.base module to helpers.py, fixes #181 2013-08-07 18:35:47 +04:30
David Halter
ee3f8d04f1 remove test.base.TestBase finally, #181 2013-08-07 18:06:52 +04:30
Takafumi Arakaki
f8d3339f2f Remove old version of FS cache automatically 2013-03-20 12:21:22 +01:00
Takafumi Arakaki
ab5266b840 Automatically skip thirdparty test if not importable 2013-03-12 13:51:33 +01:00
Takafumi Arakaki
de7092d56b Fix: --thirdparty was not considered 2013-03-12 11:26:58 +01:00
Takafumi Arakaki
cee167e3d2 Run py.test in clean cache directory
And finally remove XDG_CACHE_HOME=... in tox.ini.
2013-03-12 09:30:13 +01:00
Takafumi Arakaki
0f9761aac7 Fix tests for Python 3.2 (use relative import) 2013-03-12 07:11:37 +01:00
Takafumi Arakaki
a993dd0da4 Fix test_refactor
It was not run because test cases were collected from test/complete
instead of test/refactor.
2013-03-12 07:00:44 +01:00
Takafumi Arakaki
a31ba8737a Run refactoring test using py.test
refactor.collect_file_tests is fixed;  it uses global variable
refactoring_test_dir which is not defined when refactor is used
as a module.
2013-03-12 06:50:03 +01:00
Takafumi Arakaki
59030daa60 Add --test-files option to py.test
At this point, py.test should be equivalent to test/run.py
2013-03-10 19:00:46 +01:00
Takafumi Arakaki
9018cea22e Rewrite integration test using py.test 2013-03-10 19:00:44 +01:00