From 239a6d9fe682b1ec95aae45c9ae8cbe555d996cf Mon Sep 17 00:00:00 2001 From: Sudip Bhattarai Date: Thu, 13 Jun 2024 17:18:02 +0545 Subject: [PATCH] Update proposal format for test --- tests/govtool-backend/models/TestData.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/govtool-backend/models/TestData.py b/tests/govtool-backend/models/TestData.py index a48179698..cf24c5532 100644 --- a/tests/govtool-backend/models/TestData.py +++ b/tests/govtool-backend/models/TestData.py @@ -26,7 +26,7 @@ class Proposal(TypedDict): url: str metadataHash: str title: Optional[str] - about: Optional[str] + abstract: Optional[str] motivation: Optional[str] rationale: Optional[str] metadata: Optional[dict] @@ -34,6 +34,8 @@ class Proposal(TypedDict): yesVotes: int noVotes: int abstainVotes: int + metadataStatus: str + metadataValid: bool class Drep(TypedDict):