Ignore __repr__ in models/project

This commit is contained in:
Jay Newlin (PW) 2018-12-05 11:08:36 -05:00
parent 7133721439
commit d4727b08fe

View File

@ -21,7 +21,7 @@ class Project(Base, mixins.TimestampsMixin, mixins.AuditableMixin):
def displayname(self):
return self.name
def __repr__(self):
def __repr__(self): #pragma: no cover
return "<Project(name='{}', description='{}', workspace='{}', id='{}')>".format(
self.name, self.description, self.workspace.name, self.id
)