~james-page/ubuntu/saucy/juju-core/1.16.5

« back to all changes in this revision

Viewing changes to src/launchpad.net/juju-core/provider/maas/instance_test.go

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2013-09-03 14:22:22 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20130903142222-9mes2r8wqr0bs7lp
Tags: 1.13.3-0ubuntu1
New upstream point release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
        inst := maasInstance{&obj, s.environ}
67
67
 
68
68
        expected := []instance.Address{
69
 
                instance.Address{
 
69
                {
70
70
                        "1.2.3.4",
71
71
                        instance.Ipv4Address,
72
72
                        "",
73
73
                        instance.NetworkUnknown,
74
74
                },
75
 
                instance.Address{
 
75
                {
76
76
                        "fe80::d806:dbff:fe23:1199",
77
77
                        instance.Ipv6Address,
78
78
                        "",
79
79
                        instance.NetworkUnknown,
80
80
                },
81
 
                instance.Address{
 
81
                {
82
82
                        "DNS name",
83
83
                        instance.HostName,
84
84
                        "",