Fix testing code

This commit is contained in:
Oliver Walters 2019-06-05 00:00:05 +10:00
parent c49b8546f0
commit a9ba419503

View File

@ -320,7 +320,7 @@ class Build(models.Model):
@property
def is_complete(self):
""" Returns True if the build status is COMPLETE """
return self.status == self.BuildStatus.COMPLETE
return self.status == BuildStatus.COMPLETE
class BuildItem(models.Model):