diff --git a/src/hct_mis_api/apps/core/fixtures.py b/src/hct_mis_api/apps/core/fixtures.py index c9fe19ad5a..091353a82f 100644 --- a/src/hct_mis_api/apps/core/fixtures.py +++ b/src/hct_mis_api/apps/core/fixtures.py @@ -1,4 +1,3 @@ -import json import random from typing import Any, List @@ -147,7 +146,7 @@ def program(self) -> Any: @classmethod def _create(cls, target_class: Any, *args: Any, **kwargs: Any) -> FlexibleAttribute: label = kwargs.pop("label", None) - kwargs["label"] = json.dumps({"English(EN)": label}) + kwargs["label"] = {"English(EN)": label} obj = super()._create(target_class, *args, **kwargs) return obj