experimenter icon indicating copy to clipboard operation
experimenter copied to clipboard

NimbusReviewSerializer tests are repetitive

Open freshstrangemusic opened this issue 6 months ago • 0 comments

Almost every NimbusReviewSerializer test includes the following snippet:

        serializer = NimbusReviewSerializer(
            experiment,
            data=NimbusReviewSerializer(experiment, context={"user": self.user}).data,
            context={"user": self.user},
        )

We should add a helper to the testcase for this, which would remove ~500 lines and make tests easier to write.

┆Issue is synchronized with this Jira Task

freshstrangemusic avatar Aug 02 '24 14:08 freshstrangemusic