mirror of
https://github.com/valitydev/yandex-tank.git
synced 2024-11-08 19:23:54 +00:00
return duration as int
This commit is contained in:
parent
07edee7c8d
commit
f2db7f05ed
@ -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'''
|
||||
|
Loading…
Reference in New Issue
Block a user