def test_run_breusch_pagan_test_must_raise_exception_when_model_is_none(self):
    'Not given a model parameter\n        The check_homokedasticity\n        Should raise exception'
    analytical_data = [[0.1, 0.2, 0.15]]
    concentration_data = [[0.2, 0.2, 0.3]]
    with pytest.raises(DataWasNotFitted):
        LinearityValidator(analytical_data, concentration_data).run_breusch_pagan_test()
Not given a model parameter
The check_homokedasticity
Should raise exception
def test_run_breusch_pagan_test_must_raise_exception_when_model_is_none(self):
    'Not given a model parameter\n        The check_homokedasticity\n        Should raise exception'
    analytical_data = [[0.1, 0.2, 0.15]]
    concentration_data = [[0.2, 0.2, 0.3]]
    with pytest.raises(DataWasNotFitted):
        LinearityValidator(analytical_data, concentration_data).run_breusch_pagan_test()