import square
import square.callbacks
from square.dtypes import Config


class TestCallbacks:
    def test_patch_manifests(self, sqcfg: Config):
        """The default patch callback must do notingh."""
        local_manifest = {"local": "manfiest"}
        server_manifest = {"server": "manfiest"}

        # Default callback must return the inputs verbatim.
        ret = square.callbacks.patch_manifests(
            sqcfg,
            local_manifest,
            server_manifest,
        )
        assert ret == (local_manifest, server_manifest)
