~wallyworld/juju-core/machiner-access-for-uniter

« back to all changes in this revision

Viewing changes to agent/format-1.16_whitebox_test.go

[r=waigani] Removed shared storage from local provider.

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
        s.PatchEnvironment(osenv.JujuContainerTypeEnvKey, "container type")
103
103
        s.PatchEnvironment(JujuStorageDir, "storage dir")
104
104
        s.PatchEnvironment(JujuStorageAddr, "storage addr")
105
 
        s.PatchEnvironment(JujuSharedStorageDir, "shared storage dir")
106
 
        s.PatchEnvironment(JujuSharedStorageAddr, "shared storage addr")
107
105
 
108
106
        config := newTestConfig(c)
109
107
        s.formatter.migrate(config)
110
108
 
111
109
        expected := map[string]string{
112
 
                LxcBridge:         "lxc bridge",
113
 
                ProviderType:      "provider type",
114
 
                ContainerType:     "container type",
115
 
                StorageDir:        "storage dir",
116
 
                StorageAddr:       "storage addr",
117
 
                SharedStorageDir:  "shared storage dir",
118
 
                SharedStorageAddr: "shared storage addr",
 
110
                LxcBridge:     "lxc bridge",
 
111
                ProviderType:  "provider type",
 
112
                ContainerType: "container type",
 
113
                StorageDir:    "storage dir",
 
114
                StorageAddr:   "storage addr",
119
115
        }
120
116
 
121
117
        c.Assert(config.values, gc.DeepEquals, expected)