File: constants_test.go

package info (click to toggle)
golang-github-juju-utils 0.0~git20171220.f38c0b0-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,748 kB
  • sloc: makefile: 20
file content (40 lines) | stat: -rw-r--r-- 1,056 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Copyright 2015 Canonical Ltd.
// Copyright 2015 Cloudbase Solutions SRL
// Licensed under the LGPLv3, see LICENCE file for details.

package config_test

import "github.com/juju/utils/packaging"

var (
	// testedSeriesUbuntu is simply the series to use in Ubuntu tests.
	testedSeriesUbuntu = "precise"

	// testedSeriesCentOS is simply the series we use in CentOS tests.
	testedSeriesCentOS = "centos7"

	// testedSeriesOpenSUSE is simply the series we use in OpenSUSE tests.
	testedSeriesOpenSUSE = "opensuseleap"

	// testedPackages is a slice of random package tests to run tests on.
	testedPackages = []string{
		"awesome-wm",
		"archey3",
		"arch-chroot",
		"ranger",
	}

	testedSource = packaging.PackageSource{
		Name: "Some Totally Official Source.",
		URL:  "some-source.com/packages",
		Key:  "some-key",
	}

	testedPrefs = packaging.PackagePreferences{
		Path:        "/etc/my-package-manager.d/prefs_file.conf",
		Explanation: "don't judge me",
		Package:     "some-package",
		Pin:         "releases/extra-special",
		Priority:    42,
	}
)