PEP fixes

This commit is contained in:
Oliver 2022-01-09 22:15:59 +11:00
parent da9fa1313c
commit 6aa83796ea
2 changed files with 1 additions and 2 deletions

View File

@ -282,7 +282,7 @@ class BuildCompleteSerializer(serializers.Serializer):
build = self.context['build']
if build.incomplete_count > 0:
raise ValidationError(_("Build order has incomplete outputs"))
raise ValidationError(_("Build order has incomplete outputs"))
return data

View File

@ -201,7 +201,6 @@ class BuildOutputCompleteTest(BuildAPITest):
expected_code=201,
)
# Accept unfinished
self.build.refresh_from_db()
# Build should have been marked as complete