def METHOD_NAME(self):
    with pytest.raises(TaskOptionsError):
        create_task(
            Deploy,
            {
                "path": "empty",
                "test_level": "RunSpecifiedTests",
                "unmanaged": False,
            },
        )
    with pytest.raises(TaskOptionsError):
        create_task(
            Deploy, {"path": "empty", "test_level": "Test", "unmanaged": False}
        )
    with pytest.raises(TaskOptionsError):
        create_task(
            Deploy,
            {
                "path": "empty",
                "test_level": "RunLocalTests",
                "specified_tests": ["TestA"],
                "unmanaged": False,
            },
        )