mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-08-20 09:14:22 +00:00
robot: Delete duplicate test suite registration (#1091)
Signed-off-by: mudler <mudler@c3os.io>
This commit is contained in:
parent
e57ef905a4
commit
6bc750130c
@ -16,7 +16,7 @@ import (
|
|||||||
"github.com/nxadm/tail"
|
"github.com/nxadm/tail"
|
||||||
)
|
)
|
||||||
|
|
||||||
// setup needs edgevpn and k3s installed locally (both k3s and k3s-agent systemd services).
|
// Run starts the agent provider emitting the bootstrap event.
|
||||||
func Run(opts ...Option) error {
|
func Run(opts ...Option) error {
|
||||||
o := &Options{}
|
o := &Options{}
|
||||||
if err := o.Apply(opts...); err != nil {
|
if err := o.Apply(opts...); err != nil {
|
||||||
|
@ -2,10 +2,10 @@ package agent
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"os"
|
||||||
|
|
||||||
"github.com/kairos-io/kairos/pkg/config"
|
"github.com/kairos-io/kairos/pkg/config"
|
||||||
"gopkg.in/yaml.v3"
|
"gopkg.in/yaml.v3"
|
||||||
"os"
|
|
||||||
"testing"
|
|
||||||
|
|
||||||
. "github.com/onsi/ginkgo/v2"
|
. "github.com/onsi/ginkgo/v2"
|
||||||
. "github.com/onsi/gomega"
|
. "github.com/onsi/gomega"
|
||||||
@ -47,8 +47,3 @@ var _ = Describe("prepareConfiguration", func() {
|
|||||||
Expect(os.IsNotExist(err))
|
Expect(os.IsNotExist(err))
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
func TestPrepareConfiguration(t *testing.T) {
|
|
||||||
RegisterFailHandler(Fail)
|
|
||||||
RunSpecs(t, "prepareConfiguration Suite")
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user