Skip to content

ModuleNotFoundError: No module named 'tasks.salesforce_robot_library_base' #7249

@jessgregg

Description

@jessgregg

NPSP.py line 33

NPSP.py tries to reference a file in the Tasks directory:
from tasks.salesforce_robot_library_base import SalesforceRobotLibraryBase

However, the Tasks folder is located outside of the robot/resources folder.
https://github.com/SalesforceFoundation/NPSP/blob/main/robot/Cumulus/resources/NPSP.py#L33

This causes the error, 'ModuleNotFoundError: No module named 'tasks.salesforce_robot_library_base' and the Robot tests consistently fail.

Let me know if more information is required.

Many thanks,
Jess

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions