Blame internal/osbuild1/timezone_stage_test.go
|
Packit Service |
15f37d |
package osbuild1
|
|
Packit Service |
15f37d |
|
|
Packit Service |
15f37d |
import (
|
|
Packit Service |
15f37d |
"testing"
|
|
Packit Service |
15f37d |
|
|
Packit Service |
15f37d |
"github.com/stretchr/testify/assert"
|
|
Packit Service |
15f37d |
)
|
|
Packit Service |
15f37d |
|
|
Packit Service |
15f37d |
func TestNewTimezoneStage(t *testing.T) {
|
|
Packit Service |
15f37d |
expectedStage := &Stage{
|
|
Packit Service |
15f37d |
Name: "org.osbuild.timezone",
|
|
Packit Service |
15f37d |
Options: &TimezoneStageOptions{},
|
|
Packit Service |
15f37d |
}
|
|
Packit Service |
15f37d |
actualStage := NewTimezoneStage(&TimezoneStageOptions{})
|
|
Packit Service |
15f37d |
assert.Equal(t, expectedStage, actualStage)
|
|
Packit Service |
15f37d |
}
|