initial commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import pytest
|
||||
|
||||
from models.cacu import CaCuModel
|
||||
from models.cama import CaMaModel
|
||||
from models.tea import TeaModel
|
||||
|
||||
|
||||
@pytest.mark.parametrize("cls", [CaCuModel, CaMaModel, TeaModel])
|
||||
def test_train_not_implemented(cls):
|
||||
model = cls()
|
||||
with pytest.raises(NotImplementedError):
|
||||
model.train()
|
||||
|
||||
|
||||
@pytest.mark.parametrize("cls", [CaCuModel, CaMaModel, TeaModel])
|
||||
def test_predict_not_implemented(cls):
|
||||
model = cls()
|
||||
with pytest.raises(NotImplementedError):
|
||||
model.predict(data=None)
|
||||
Reference in New Issue
Block a user