juju: github.com/wallyworld/juju/service/systemd/testing Index | Files

package testing

import "github.com/wallyworld/juju/service/systemd/testing"


Package Files


type WriteConfTest Uses

type WriteConfTest struct {
    Service  string
    DataDir  string
    Expected string
    Script   string

WriteConfTest is used in tests to verify that the shell commands to write a service conf to disk are correct.

func (WriteConfTest) CheckCommands Uses

func (wct WriteConfTest) CheckCommands(c *gc.C, commands []string)

CheckCommands checks the given commands against the test's expectations.

Package testing imports 6 packages (graph). Updated 2020-03-30. Refresh now. Tools for package owners.