mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix testing code
This commit is contained in:
parent
c49b8546f0
commit
a9ba419503
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user