Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions minder-tests/api-history.robot
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Test Teardown Default Teardown
Default Setup
Set Project as Environment Variable with Test Name
Ruletypes are ready
Datasources are created
Ruletypes are created
${MINDER_TEST_ORG}= Get Environment Variable MINDER_TEST_ORG
Set Suite Variable $MINDER_TEST_ORG
Expand Down
1 change: 1 addition & 0 deletions minder-tests/api-profiles.robot
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Test Teardown Default Teardown
Default Setup
Set Project as Environment Variable with Test Name
Ruletypes are ready
Datasources are created
Ruletypes are created

Default Teardown
Expand Down
1 change: 1 addition & 0 deletions resources/keywords.robot
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Create Ruletypes

Given I Am Logged Into Minder
Given Ruletypes Are Ready
When Datasources Are Created
When Ruletypes Are Created

Delete Ruletypes
Expand Down
8 changes: 8 additions & 0 deletions resources/ruletypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ def all_ruletypes_are_deleted(self):
"""
logger.info(minder.ruletype.delete("--all", "--yes"))

@keyword
def datasources_are_created(self):
"""
Ensure that we have the datasources repository.
"""
datasources = os.path.join(self.path, "data-sources")
minder.datasource.create(f=datasources)

def _clone_ruletypes_from_github(self):
"""
Clone the ruletypes repository from GitHub.
Expand Down
Loading