def METHOD_NAME(self, registered_model):
    np = pytest.importorskip("numpy")
    pytest.importorskip("sklearn")
    from sklearn.linear_model import LogisticRegression
    model_version = registered_model.get_or_create_version(name="my version")
    classifier = LogisticRegression()
    classifier.fit(np.random.random((36, 12)), np.random.random(36).round())
    model_version.log_artifact("coef", classifier.coef_)
    model_version.log_artifact("coef-2", classifier.coef_)
    model_version.log_artifact("coef-3", classifier.coef_)
    model_version.del_artifact("coef-2")
    assert len(model_version.get_artifact_keys()) == 2
    model_version.del_artifact("coef")
    assert len(model_version.get_artifact_keys()) == 1
    model_version.del_artifact("coef-3")
    assert len(model_version.get_artifact_keys()) == 0