ansys / pyfluent

Pythonic interface to Ansys Fluent
https://fluent.docs.pyansys.com
MIT License
247 stars 42 forks source link

Remove duplicate fixture definitions #3077

Closed mkundu1 closed 3 weeks ago

mkundu1 commented 3 weeks ago

Currently, we have multiple fixtures with slightly different definitions. Most of the unit tests just need any of the following 4 fixtures:

  1. Launch solver session
  2. Launch solver session with a case
  3. Launch meshing session
  4. Launch meshing session with a geometry

There are some special fixture requirements for a few tests. We shall consolidate the fixture usage for other tests.

mkundu1 commented 3 weeks ago

Also, we should write the fixtures in conftest.py, so that they are automatically imported. We don't need to import them with # noqa: F401.