X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2Fautogen%2FDefaultTestcase.py;h=5db81a80d4ed1e9b482c091e7a54a0eb1d30feff;hb=144ebec26ff0a32000283eddfac393e497e01164;hp=9878289bd1225ff5e53d9eee5b57955bd43e5837;hpb=7dda8f57f750c253d3c96ac1b02a84c58e36a6d8;p=csit.git diff --git a/resources/libraries/python/autogen/DefaultTestcase.py b/resources/libraries/python/autogen/DefaultTestcase.py index 9878289bd1..5db81a80d4 100644 --- a/resources/libraries/python/autogen/DefaultTestcase.py +++ b/resources/libraries/python/autogen/DefaultTestcase.py @@ -13,7 +13,7 @@ """Module with utilities for autogeneration of non-customizable testcases.""" -from Testcase import Testcase +from .Testcase import Testcase class DefaultTestcase(Testcase): @@ -26,9 +26,10 @@ class DefaultTestcase(Testcase): Example: ethip6srhip6-ip6base-srv6enc2sids-nodecaps-ndrpdr :type suite_id: str """ + self.suite_id = suite_id template_string = r''' | ${tc_num}-${frame_str}-${cores_str}c-''' + suite_id + r''' | | [Tags] | ${frame_str} | ${cores_str}C -| | framesize=${frame_num} | phy_cores=${cores_num} +| | frame_size=${frame_num} | phy_cores=${cores_num} ''' super(DefaultTestcase, self).__init__(template_string)