12 lines
264 B
Python
12 lines
264 B
Python
import pytest
|
|
|
|
from mflux.models.common.schedulers.base_scheduler import BaseScheduler
|
|
|
|
|
|
def test_base_scheduler_is_abstract():
|
|
"""
|
|
Test that BaseScheduler cannot be instantiated directly.
|
|
"""
|
|
with pytest.raises(TypeError):
|
|
BaseScheduler()
|