def test_deploy_files(self, put_mock, create_dir_mock):
        local_dir = '/my/local/dir'
        remote_dir = '/my/remote/dir'
        catalog.deploy_files(['a', 'b'], local_dir, remote_dir,
                             PRESTO_STANDALONE_USER_GROUP)
        create_dir_mock.assert_called_with(remote_dir, PRESTO_STANDALONE_USER_GROUP)
        put_mock.assert_any_call('/my/local/dir/a', remote_dir, use_sudo=True,
                                 mode=0600)
        put_mock.assert_any_call('/my/local/dir/b', remote_dir, use_sudo=True,
                                 mode=0600)