Dave Halter
306d274a3d
Merge dev into linter.
2015-11-10 21:52:18 +01:00
immerrr
fb592ad028
test_imports: add test to ensure caching works with sys_path
2015-10-26 13:03:42 +03:00
immerrr
90a08794ba
test_imports: use sys_path
2015-10-26 13:03:42 +03:00
Dave Halter
f77712ddf1
Test to assure that imports are not loaded twice.
2015-10-10 19:49:40 +02:00
Dave Halter
eb146adcc1
Modules that are not importable shouldn't cause Jedi to stop working (just issue a warning). Fixes #468 , #71 .
2015-03-06 11:13:04 +01:00
Dave Halter
33b39c2b5d
Don't use the old setup_function/teardown_function pytest stuff. It's very implicit and hard to understand.
2014-12-07 17:21:52 +01:00
Dave Halter
49b34b4d01
Stuff mostly related to namespace packages.
2014-12-07 16:51:54 +01:00
Albertas Agejevas
ab486ba84f
List old-style flask extensions, too.
2014-07-27 17:00:17 +02:00
Albertas Agejevas
7f45bfe689
More on #361 : enumerate new-style flask extensions.
2014-07-27 16:08:26 +02:00
Albertas Agejevas
5edd2274b2
Fix an exception in the flask ext code.
2014-07-27 15:04:55 +02:00
Albertas Agejevas
a18f8a7cbb
Make tests terser. pytest rules!
2014-07-27 15:04:46 +02:00
Albertas Agejevas
13c1f79d5c
A stab at davidhalter/jedi#361 (Flask extension imports)
...
Both new-style and old-style extensions work, but only when imported
with a 'from'. There are two skipped tests of the full dotted name
imports.
Also, our fixture has a normal flaskext package, whereas in practice
the flaskext module is injected from a pth file and does not have
__init__.py, we need to figure out to handle that.
2014-07-27 15:04:31 +02:00
Dave Halter
5aa6c770b3
refactor follow_definition tests
2014-03-23 12:40:33 +01:00
Dave Halter
fa0502d762
again testing improvements. follow_definitions imports are now pretty much covered
2014-03-21 13:50:29 +01:00
Dave Halter
eeeeee49f5
new tests for that whole import mess
2014-03-21 11:12:40 +01:00
Dave Halter
58026c6542
temporary conversion of the imports module to separate import processing from actually importing things
2014-03-19 16:40:38 +01:00
Dave Halter
9f12352ec1
tests for import completions and a following follow_definition call
2014-03-17 11:58:29 +01:00
Dave Halter
8660555d7b
moved api, parser and evaluate test directories to test_api, test_parser...
2014-01-29 21:16:18 +01:00