X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2Fautogen%2FTestcase.py;fp=resources%2Flibraries%2Fpython%2Fautogen%2FTestcase.py;h=c4ed60685b779f620bc341bdfb958096100ca4d0;hp=d419b2993b1213389c34bed032517e61f6da61b4;hb=a765b82b5bb2a88086503d0cf54b86770d9ffe74;hpb=9902cc2a3610661110c66753554be12520e9c334 diff --git a/resources/libraries/python/autogen/Testcase.py b/resources/libraries/python/autogen/Testcase.py index d419b2993b..c4ed60685b 100644 --- a/resources/libraries/python/autogen/Testcase.py +++ b/resources/libraries/python/autogen/Testcase.py @@ -1,4 +1,4 @@ -# Copyright (c) 2019 Cisco and/or its affiliates. +# Copyright (c) 2020 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -110,8 +110,8 @@ class Testcase: | | phy_cores=${{cores_num}} ''' else: - template_string = \ - f"\n| ${{tc_num}}-9000B-${{cores_str}}c-{suite_id[:-4]}" \ - f"-{suite_id[-3:]}\n" \ - f"| | [Tags] | ${{cores_str}}C\n| | phy_cores=${{cores_num}}\n" + template_string = f''' +| ${{tc_num}}-${{frame_str}}-${{cores_str}}c-{suite_id[:-4]}-{suite_id[-3:]} +| | [Tags] | ${{cores_str}}C\n| | phy_cores=${{cores_num}} +''' return cls(template_string)