bump version to 1.1.0, centralize VERSION constant

This commit is contained in:
Username
2025-12-20 04:21:06 +01:00
parent ccfd8509cc
commit c76a158c18
5 changed files with 11 additions and 5 deletions

View File

@@ -2,6 +2,8 @@
import json
from app.config import VERSION
class TestIndex:
"""Tests for GET / endpoint."""
@@ -12,7 +14,7 @@ class TestIndex:
assert response.status_code == 200
data = json.loads(response.data)
assert data["name"] == "FlaskPaste"
assert data["version"] == "1.0.0"
assert data["version"] == VERSION
assert "endpoints" in data
assert "usage" in data