Commit 27df5117 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_cloud: (test) Add method to custom instance before dump configuration

parent 30d97486
...@@ -113,6 +113,10 @@ class SlapOSTestCaseMixin(testSlapOSMixin): ...@@ -113,6 +113,10 @@ class SlapOSTestCaseMixin(testSlapOSMixin):
ids=[i.getId() for i in instance_template.objectValues()]) ids=[i.getId() for i in instance_template.objectValues()])
def beforeDumpExpectedConfiguration(self):
"""Overwrite this function on project context to tweak production focus tests"""
pass
def makeCustomOrganisation(self, new_id=None, index=True): def makeCustomOrganisation(self, new_id=None, index=True):
# Create a custom organisation same as slapos, for ensure we can have # Create a custom organisation same as slapos, for ensure we can have
# multiple organisations working on the site # multiple organisations working on the site
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment