summaryrefslogtreecommitdiff
path: root/test-cli/test/tests/qram.py
diff options
context:
space:
mode:
Diffstat (limited to 'test-cli/test/tests/qram.py')
-rw-r--r--test-cli/test/tests/qram.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/test-cli/test/tests/qram.py b/test-cli/test/tests/qram.py
index 1b66e5c..ade7aeb 100644
--- a/test-cli/test/tests/qram.py
+++ b/test-cli/test/tests/qram.py
@@ -3,17 +3,17 @@ import sh
class Qram(unittest.TestCase):
- __memSize = "10M"
+ __memsize = "10M"
__loops = "1"
- # varlist: memSize, loops
+ # varlist: memsize, loops
def __init__(self, testname, testfunc, varlist):
super(Qram, self).__init__(testfunc)
- if "memSize" in varlist:
- self.__memSize = varlist["memSize"]
+ if "memsize" in varlist:
+ self.__memsize = varlist["memsize"]
else:
- raise Exception('memSize param inside Qram must be defined')
+ raise Exception('memsize param inside Qram must be defined')
if "loops" in varlist:
self.__loops = varlist["loops"]
else:
@@ -22,6 +22,6 @@ class Qram(unittest.TestCase):
def execute(self):
try:
- sh.memtester(self.__memSize, "1")
+ sh.memtester(self.__memsize, "1")
except sh.ErrorReturnCode as e:
self.fail("failed: could not complete memtester command")