tardis-sn / tardis

TARDIS - Temperature And Radiative Diffusion In Supernovae
https://tardis-sn.github.io/tardis
201 stars 405 forks source link

Address fixtures that are not being used #1858

Open atharva-2001 opened 2 years ago

atharva-2001 commented 2 years ago

Describe the bug

According to pytest dead fixtures, there are some fixtures which are not being used:

Fixture name: refdata, location: tardis/gui/tests/test_gui.py:14
Fixture name: verysimple_collection, location: tardis/montecarlo/montecarlo_numba/tests/conftest.py:28
Fixture name: runner, location: tardis/montecarlo/tests/conftest.py:8
Fixture name: expected_ff_emissivity, location: tardis/montecarlo/tests/test_montecarlo.py:100
Fixture name: ion_edges, location: tardis/montecarlo/tests/test_montecarlo.py:113
Fixture name: continuum_compare_data_fname, location: tardis/montecarlo/tests/test_montecarlo.py:82
Fixture name: continuum_compare_data, location: tardis/montecarlo/tests/test_montecarlo.py:88
Fixture name: data_path, location: tardis/montecarlo/tests/test_packet_source.py:12

To Reproduce

Install pytest dead fixtures and run it on TARDIS

Screenshots

System

Additional context

shravandoda commented 2 years ago

Hi! Picking this up

xansh commented 1 year ago

Hi, I am starting to work on this