Hey all,

I recently got the community edition PyCharm IDE and so far like a lot of 
things about it (especially the ability to run pytest tests from within it). 
HOWEVER, I am having a problem with auto-completion on fixture functions (I 
realize this may not be the place to ask this question but I was hoping someone 
had some info that could help me or point me somewhere :) )

So, the problem: in my test function I am using a fixture object as an input 
argument and want to be able to see all available functions with 
autocompletion. To see autocompletion in Aptana, I imported the necessary 
fixture to the test module where my test function resides (the fixture is 
imported to a conftest in a package I have defined)

----------------------------------

Example:

#this test module resides in mypackag.mysubpackage.mysubsubpackage

from mypackage.mysubpackage.conftest import myobj

def test_mytest(myobj):
 myobj. (<- this is where the autocompletion should show up?)


----------------------------------


In Aptana myobj shows all the available functions with autocompletion as 
expected but in PyCharm (with the exact same code/folders/folder structure) it 
says "No suggestions."

Anyone have a similar problem or know of a solution? (I would prefer to stick 
with PyCharm... :) )

Thanks!
Michelle
_______________________________________________
Pytest-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pytest-dev

Reply via email to