Commit 727e275b authored by Łukasz Nowak's avatar Łukasz Nowak

testing/testcase: Set proper default software type

By default proxy checks if software type is None, then it's setting it to
RootSoftwareInstance, but if it comes as "" (empty string) it's kept as is.

So for consistency with proxy set default software type, so that proxy can
manage it correctly.
parent f2b9d9ec
...@@ -554,12 +554,12 @@ class SlapOSInstanceTestCase(unittest.TestCase): ...@@ -554,12 +554,12 @@ class SlapOSInstanceTestCase(unittest.TestCase):
@classmethod @classmethod
def getInstanceSoftwareType(cls): def getInstanceSoftwareType(cls):
"""Return software type for instance, default "". """Return software type for instance, default None.
To be defined by subclasses if they need to request instance with specific To be defined by subclasses if they need to request instance with specific
software type. software type.
""" """
return "" return None
# Unittest methods # Unittest methods
@classmethod @classmethod
......
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