X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2Fautogen%2FTestcase.py;h=dd58547f3396e47544cbe36f53c5c3b12e22f434;hb=1999c2ecc15760a57bdf34498635432ddb0321e0;hp=4f92e6c2e108ffaa52a93a4cbafc3cbfec62d211;hpb=7dda8f57f750c253d3c96ac1b02a84c58e36a6d8;p=csit.git diff --git a/resources/libraries/python/autogen/Testcase.py b/resources/libraries/python/autogen/Testcase.py index 4f92e6c2e1..dd58547f33 100644 --- a/resources/libraries/python/autogen/Testcase.py +++ b/resources/libraries/python/autogen/Testcase.py @@ -49,10 +49,10 @@ class Testcase(object): :rtype: str """ try: - fs = int(framesize) + fsize = int(framesize) subst_dict = { - "frame_num": "${%d}" % fs, - "frame_str": "%dB" % fs + "frame_num": "${%d}" % fsize, + "frame_str": "%dB" % fsize } except ValueError: # Assuming an IMIX string. subst_dict = {