return duration as int

This commit is contained in:
Alexey Lavrenuke (load testing) 2013-06-26 18:09:40 +04:00
parent 07edee7c8d
commit f2db7f05ed

View File

@ -30,7 +30,7 @@ class Const(object):
def get_duration(self):
'''Return step duration'''
return self.duration
return int(self.duration)
def __len__(self):
'''Return total ammo count'''
@ -82,7 +82,7 @@ class Line(object):
def get_duration(self):
'''Return step duration'''
return self.duration
return int(self.duration)
def __len__(self):
'''Return total ammo count'''