def METHOD_NAME(self, m):
    m.return_value = {
        "k": {
            "enabled": True,
        },
        "key": {
            "enabled": True,
        },
        "disabled": {
            "notenabled": True,
        },
    }
    result = DatasetConfig.get_datasets()
    assert len(result) == 2
    assert "k" in result
    assert "key" in result
    assert "disabled" not in result