1
0
forked from VimPlug/jedi
Commit Graph

1952 Commits

Author SHA1 Message Date
Dave Halter 68381e09c9 Move the last test out of test_regressions and delete the file
This also deletes a test that probably has become useful because the issue it tested was caused by code that doesn't exist anymore
2017-12-29 20:38:30 +01:00
Dave Halter 01ffd2f981 Move most of the regression tests into other test files 2017-12-29 20:26:53 +01:00
Dave Halter 918153d55a Cleanup test_regression tests 2017-12-29 20:13:04 +01:00
Dave Halter ff4f7d5471 Move test_integration_keywrod to test_api/test_keyword 2017-12-29 20:05:37 +01:00
Dave Halter c7266d65c1 Cleanup the docstring tests 2017-12-29 19:47:28 +01:00
Dave Halter bf73fcbed4 More test_evaluate Script fixtures 2017-12-29 19:36:05 +01:00
Dave Halter 5fc755b0cf stdlib fixture conversions 2017-12-29 19:13:15 +01:00
Dave Halter ac21fc376e More Script fixture conversions in test_evaluate 2017-12-29 19:08:09 +01:00
Dave Halter 2493e6ea16 Migrate parso integration to script fixture 2017-12-29 18:47:13 +01:00
Dave Halter 181fe38c17 Use Script in more places 2017-12-29 18:43:10 +01:00
Dave Halter da211aa63d Use the Script fixture more generally 2017-12-29 18:40:17 +01:00
Dave Halter 38cacba385 Differentiate between different Python versions in a specific test 2017-12-29 16:09:48 +01:00
Dave Halter 5efd67758e Start replacing Script calls with a fixture
This is important to migrate all tests to specific fixtures.
2017-12-29 15:51:16 +01:00
Dave Halter 4b72a89379 There were a few bugs in the previous commit 2017-12-28 23:25:09 +01:00
Dave Halter 9906c4f9fc Skip the correct tests 2017-12-28 22:03:02 +01:00
Dave Halter e925661aff Skip tests according to the current environment 2017-12-26 15:07:57 +01:00
Dave Halter a117f9f2e7 Avoid execution of Jedi in test setup
This makes testing Jedi potentially faster.
2017-12-24 03:25:43 +01:00
Dave Halter 7ad37fb976 Skip more tests if it's necessary. 2017-12-23 19:56:47 +01:00
Dave Halter 723d6515ac Change two tests that were written in a strange way 2017-12-20 10:36:39 +01:00
Dave Halter a96f2c43df Add a way to skip typing tests in non default environments 2017-12-20 10:07:16 +01:00
Dave Halter 96a67f9a4c Start using the correct parser for each environment 2017-12-19 19:19:35 +01:00
Dave Halter a9ebd92c20 Add a way to specify environments in tox 2017-12-19 19:02:57 +01:00
Dave Halter 5f2b49d039 Merge branch 'master' into virtualenv 2017-12-18 01:41:29 +01:00
Dave Halter 1c62db04ba Make it possible to get the right version parser for a certain environment 2017-12-16 00:30:47 +01:00
Dave Halter d0732e58cc api.virtualenv -> api.environment 2017-12-15 18:20:35 +01:00
Dave Halter 0d7f93c019 DefaultEnvironment -> get_default_environment 2017-12-15 18:13:21 +01:00
Dave Halter 3cd5fa3c20 Better support for searching python environments 2017-12-15 12:19:52 +01:00
Daniel Hahler e621e8590c Improve IntegrationTestCase.__repr__
Having the path (together with the line only) makes it easy to go to the
actual test.
2017-12-14 22:44:24 +01:00
Dave Halter 94e2e92888 Remove unit test class from speed tests 2017-12-13 19:22:45 +01:00
Dave Halter 8003d30b06 Fix the Python 2.7 tests 2017-12-11 21:39:30 +01:00
Dave Halter b196c6849b Don't try to pickle ellipsis 2017-12-11 20:55:34 +01:00
Dave Halter aa7319dba5 Remove the last test failures. 2017-12-09 17:38:45 +01:00
Dave Halter 649225333f Get the subprocess mostly working 2017-12-08 09:44:12 +01:00
Dave Halter a210be8198 Don't use the create function anymore in compiled
Now the whole creation of builtin objects is abstract and was moved to subprocesses etc.
2017-12-06 15:26:29 +01:00
Dave Halter 13f8f37547 Use even more subprocess accesses 2017-12-06 15:16:27 +01:00
Dave Halter 42fb93dc01 Use the subprocess access to create acceses 2017-12-06 15:06:48 +01:00
Dave Halter f09ca9fc20 Use access handles everywhere 2017-12-06 14:46:27 +01:00
Dave Halter 543f4f7ff2 Move some stuff from compiled to context 2017-11-29 01:03:01 +01:00
Dave Halter 47114178e9 Fake context python code is now not the base for a lot of things anymore. It just gets executed. 2017-11-28 18:26:12 +01:00
Dave Halter accf20226d Fix a few more tests 2017-11-26 22:07:13 +01:00
Dave Halter e71f0062dd Get a lot of tests passing 2017-11-26 17:48:00 +01:00
Dave Halter 7263d8565b Add an access abstraction (only array tests work, yet)
The access abstraction will be the new way of accessing builtin objects. This way it will be easier to move that to another process
2017-11-25 19:47:49 +01:00
Dave Halter 1a7fc512bc Eliminate CompiledObject.type 2017-11-23 21:50:18 +01:00
Dave Halter 87452639ad Exceptions now also work over the subprocess. 2017-11-17 01:54:05 +01:00
Dave Halter 4a7d715a57 Finally got compiled_objects and the access to them working 2017-11-17 01:42:27 +01:00
Dave Halter 73576b2a8b Progress when working with evaluators 2017-11-17 01:21:38 +01:00
Dave Halter 4136dcaf08 Make the subprocesses work and return the right sys paths for the different versions 2017-11-15 08:58:13 +01:00
Dave Halter 96149d2e6a Make it possible to connect to a subprocess to get the sys path 2017-11-14 18:25:37 +01:00
Robin Roth 88cf592c95 Make goto work with await
Created together with @langsamer and @davidhalter
2017-10-28 14:10:05 +02:00
Dave Halter 752b7d8d49 One more usages test. 2017-10-15 21:11:49 +02:00