import unittest

from codec import upgrade_payload


class HoldoutCompatibilityTests(unittest.TestCase):
    def test_canonical_payload_remains_canonical(self):
        self.assertEqual(
            upgrade_payload({"user_id": "u", "future": 3}), {"user_id": "u", "future": 3}
        )
