Skip to content

Commit

Permalink
error in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ina committed Sep 22, 2022
1 parent c8547fb commit 01c813d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/api/test_superadmin_only.py
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ def test_anyprojectsbusy_false(client: flask.testing.FlaskClient) -> None:
"""There are busy projects."""
# Set all projects to not busy
for project in models.Project.query.all():
project.busy = True
project.busy = False
db.session.commit()
busy_count: int = models.Project.query.filter_by(busy=True).count()
assert busy_count == 0
Expand Down

0 comments on commit 01c813d

Please sign in to comment.