def METHOD_NAME(self) -> None:
    now = 1470174257070
    json = {"key": "value"}
    self.get_success(self.store.set_e2e_device_keys("user", "device", now, json))
    self.get_success(self.store.store_device("user", "device", "display_name"))
    res = self.get_success(
        self.store.get_e2e_device_keys_for_cs_api((("user", "device"),))
    )
    self.assertIn("user", res)
    self.assertIn("device", res["user"])
    dev = res["user"]["device"]
    self.assertLessEqual(
        {
            "key": "value",
            "unsigned": {"device_display_name": "display_name"},
        }.items(),
        dev.items(),
    )