def METHOD_NAME(sd):
    """Testing SiteDirector()._submitPilotsToQueue()"""
    # Create a MagicMock that does not have the workingDirectory
    # attribute (https://cpython-test-docs.readthedocs.io/en/latest/library/unittest.mock.html#deleting-attributes)
    # This is to use the SiteDirector's working directory, not the CE one
    ceMock = MagicMock()
    del ceMock.workingDirectory
    sd.queueCECache = {"aQueue": {"CE": ceMock}}
    sd.queueSlots = {"aQueue": {"AvailableSlots": 10}}
    assert sd._submitPilotsToQueue(1, MagicMock(), "aQueue")["OK"]