Skip to content

Commit

Permalink
Merge pull request PelicanPlatform#191 from bbockelm/render_template
Browse files Browse the repository at this point in the history
Fix template rendering failure
  • Loading branch information
turetske authored Oct 9, 2023
2 parents e8237ea + dc313fd commit ef21162
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions cmd/origin_serve_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
//go:build !windows

/***************************************************************
*
* Copyright (C) 2023, Pelican Project, Morgridge Institute for Research
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. You may
* obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
***************************************************************/

package main

import (
"testing"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

func TestCreateXrootdConfig(t *testing.T) {
configPath, err := configXrootd()
require.NoError(t, err)
assert.NotNil(t, configPath)
}

0 comments on commit ef21162

Please sign in to comment.