No import suggestion for Django Rest Framework classes in test.py
Answered
In the Django Rest Framework (3.13) the test classes (like APIClient, APITestCase) are located in a package test.py. It looks like this causes Pycharm to skip this package when doing suggestions for import. The code runs, other packages (from the rest framework) are suggested, so i assume it is the test.py name that causes this.
Am I correct and is there a way to make these classes visibel for the import suggestion algoritme?

Please sign in to leave a comment.
This is a known bug https://youtrack.jetbrains.com/issue/PY-51855, feel free to vote for it and leave comments.
Unfortunately, there is no workaround.