grim/convey
Clone
Summary
Browse
Changes
Graph
Add convey-docs.yml for building the docs.
2022-03-26, Gary Kramlich
e5139263eab7
Add convey-docs.yml for building the docs.
We're using a separate file because the normal convey.yml is setup to work with
current convey, but the docs needs to be built by old convey at the moment.
package
docker
import
(
"testing"
"github.com/stretchr/testify/assert"
"keep.imfreedom.org/grim/convey/podman"
)
func
TestRun
(
t
*
testing
.
T
)
{
r
:=
&
Run
{
Image
:
"image"
,
}
assert
.
NoError
(
t
,
r
.
Valid
())
}
func
TestRunImageRequired
(
t
*
testing
.
T
)
{
r
:=
&
Run
{}
assert
.
ErrorIs
(
t
,
r
.
Valid
(),
podman
.
ErrNoImage
)
}