def METHOD_NAME(self, mock_configuration_save, fake_confirm):
    # create the backup file
    with tempfile.NamedTemporaryFile() as tmp_file:
        with zipfile.ZipFile(tmp_file, "w", zipfile.ZIP_DEFLATED) as archive:
            archive.writestr("something.txt", "Some Content Here")
        args = []
        kwargs = {
            "backup_file": tmp_file.name,
            "config": os.path.join(
                os.path.dirname(os.path.abspath(__file__)), "..", "management/commands/settings_sample.ini"
            ),
        }
        call_command("restore", *args, **kwargs)
        # make sure Configuration was saved twice (Read-Only set, and revert)
        self.assertEqual(mock_configuration_save.call_count, 2)