~nskaggs/+junk/xenial-test

« back to all changes in this revision

Viewing changes to src/github.com/juju/utils/packaging/config/constants_test.go

  • Committer: Nicholas Skaggs
  • Date: 2016-10-24 20:56:05 UTC
  • Revision ID: nicholas.skaggs@canonical.com-20161024205605-z8lta0uvuhtxwzwl
Initi with beta15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright 2015 Canonical Ltd.
 
2
// Copyright 2015 Cloudbase Solutions SRL
 
3
// Licensed under the LGPLv3, see LICENCE file for details.
 
4
 
 
5
package config_test
 
6
 
 
7
import "github.com/juju/utils/packaging"
 
8
 
 
9
var (
 
10
        // testedSeriesUbuntu is simply the series to use in Ubuntu tests.
 
11
        testedSeriesUbuntu = "precise"
 
12
 
 
13
        // testedSeriesCentOS is simply the series we use in CentOS tests.
 
14
        testedSeriesCentOS = "centos7"
 
15
 
 
16
        // testedPackages is a slice of random package tests to run tests on.
 
17
        testedPackages = []string{
 
18
                "awesome-wm",
 
19
                "archey3",
 
20
                "arch-chroot",
 
21
                "ranger",
 
22
        }
 
23
 
 
24
        testedSource = packaging.PackageSource{
 
25
                Name: "Some Totally Official Source.",
 
26
                URL:  "some-source.com/packages",
 
27
                Key:  "some-key",
 
28
        }
 
29
 
 
30
        testedPrefs = packaging.PackagePreferences{
 
31
                Path:        "/etc/my-package-manager.d/prefs_file.conf",
 
32
                Explanation: "don't judge me",
 
33
                Package:     "some-package",
 
34
                Pin:         "releases/extra-special",
 
35
                Priority:    42,
 
36
        }
 
37
)