validate: Implement Scenario.__repr__

Allows better debugging when looking at logs
This commit is contained in:
Edward Hervey 2017-05-25 15:50:23 +02:00 committed by Edward Hervey
parent 9188968f5c
commit 400d1f9326

View file

@ -1714,6 +1714,8 @@ class Scenario(object):
except AttributeError:
return 0
def __repr__(self):
return "<Scenario %s>" % self.name
class ScenarioManager(Loggable):
_instance = None