Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in

Florent Chehab

Avatar
  • Total activity 5
  • Last activity August 29, 2023 08:03
  • Member since August 28, 2023 16:18
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 1
Activity overview Posts (0) Comments (4)
  • Florent Chehab commented, August 29, 2023 08:01
    Today's update, right clicking on `tests` on “Mark Directory as … Tests Sources root” also works. It feels like in the past Pycharm would find this on its own in the past.
    1. Community
    2. PyCharm
    3. PyCharm unable to find fixtures in conftest.py
    • 6 votes
  • Florent Chehab commented, August 28, 2023 16:34
    This worksThe following doesn't work (the test run but the conftest is not loaded so the test actually fails).
    1. Community
    2. PyCharm
    3. PyCharm unable to find fixtures in conftest.py
    • 1 vote
  • Florent Chehab commented, August 28, 2023 16:33
    Sergey Karpov, you can find a very simple / quick / dirty project to reproduce the bug here: https://github.com/FloChehab/pycharm_bug  Here are the infos: PyCharm 2023.2 (Professional Edition)Build...
    1. Community
    2. PyCharm
    3. PyCharm unable to find fixtures in conftest.py
    • 1 vote
  • Florent Chehab commented, August 28, 2023 16:21
    Hey, I can confirm the bug and it is so annoying.Running all the tests (right click on the tests folder and “Run pytest in tests…” works perfectly.But running a test from a subfile directly doesn't...
    1. Community
    2. PyCharm
    3. PyCharm unable to find fixtures in conftest.py
    • 0 votes
Copyright © 2000– JetBrains s.r.o.