Open carlosggarcia opened 1 year ago
Consider using pytest fixtures in the test instead of instantiating the class in each test; e.g.
@pytest.fixture def mock_covariance(): return CovarianceCalculator(input_yml) def my_test(mock_covariance): mock_covariance.get_covariance()
Consider using pytest fixtures in the test instead of instantiating the class in each test; e.g.