Fakultas Ilmu Komputer UI

Add constraint to Company.status

Status Name Job ID Coverage
  Test
failed test-backend #67123

00:01:48

passed test-frontend #67122

00:05:02

 
  Deploy
skipped pages #67124
 
Name Stage Failure
failed
test-backend Test
  File "/usr/local/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/builds/pmpl/class-project/kape/core/models/__init__.py", line 2, in <module>
from core.models.accounts import Company
File "/builds/pmpl/class-project/kape/core/models/accounts.py", line 143
status = models.IntegerField(validators=[MaxValueValidator(2), MinValueValidator(0))
^
SyntaxError: invalid syntax
ERROR: Job failed: exit code 1