9 code results in juju/juju

Go
environs/bootstrap/prepare_test.go
Showing the top three matches Last indexed Apr 27, 2017
44 "name": "erewhemos",
45 "test-mode": true,
46 }).Delete(
47 "admin-secret",
48 )
49 cfg, err := config.New(config.NoDefaults, baselineAttrs)
57 controller.StatePort: 1234,
58 controller.SetNUMAControlPolicyKey: true,
59 }
60 _, err = bootstrap.Prepare(ctx, controllerStore, bootstrap.PrepareParams{
Go
cmd/juju/model/configcommand.go
Showing the top match Last indexed Jun 23, 2017
46 juju model-config -m othercontroller:mymodel default-series=yakkety test-mode=false
47 juju model-config --reset default-series test-mode
48
49 See also:
50 models
51 model-defaults
52 show-cloud
Go
environs/config/config_test.go
Showing the top three matches Last indexed Dec 18, 2017
55 "unknown": "my-unknown",
56 "ssl-hostname-verification": true,
57 "development": false,
58 "default-series": series.LatestLts(),
404 useDefaults: config.UseDefaults,
405 attrs: minimalConfigAttrs.Merge(testing.Attrs{
406 "test-mode": true,
407 }),
408 }, {
409 about: "valid uuid",
Go
cmd/juju/model/defaultscommand.go
Showing the top match Last indexed Aug 10, 2017
51 juju model-defaults -m othercontroller:mymodel default-series=yakkety test-mode=false
52 juju model-defaults --reset default-series test-mode
53 juju model-defaults aws/us-east-1 --reset http-proxy
54 juju model-defaults us-east-1 --reset http-proxy
Go
environs/config/config.go
Showing the top three matches Last indexed Dec 18, 2017
177 FanConfig = "fan-config"
178
179 //
180 // Deprecated Settings Attributes
181 //
182
183 // IgnoreMachineAddresses, when true, will cause the
184 // machine worker not to discover any machine addresses
379 "development": false,
380 "test-mode": false,
381 TransmitVendorMetricsKey: true,
Python
acceptancetests/jujupy/tests/test_client.py
Showing the top four matches Last indexed Nov 30, 2017
301 'image-metadata-url': 'foo',
302 'prefer-ipv6': 'foo',
303 'test-mode': True,
374 config = yaml.safe_load(config_file)
375 self.assertEqual({'test-mode': True}, config)
376
377 def test_bootstrap_upload_tools(self):
Python
acceptancetests/jujupy/client.py
Showing the top four matches Last indexed Dec 6, 2017
2145 # AFAICT, we *always* want to set test-mode to True. If we ever find a
2146 # use-case where we don't, we can make this optional.
2147 config['test-mode'] = True
2148 # Explicitly set 'name', which Juju implicitly sets to env.environment to
Python
acceptancetests/tests/test_deploy_stack.py
Showing the top three matches Last indexed Dec 13, 2017
109 with patch.object(client, 'get_juju_output', autospec=True,
110 return_value=response_ok) as gjo_mock:
1780 'default-series': 'wacky',
1781 'agent-metadata-url': 'url',
1782 'type': 'foo',
1783 'region': 'bar',
1784 'test-mode': True,
Go
apiserver/facades/client/application/application_test.go
Showing the top three matches Last indexed Dec 13, 2017
565 func (s *applicationSuite) TestClientApplicationsDeployWithBindings(c *gc.C) {
566 s.State.AddSpace("a-space", "", nil, true)
1096 return repo
1097 })
1098 attrs := map[string]interface{}{"test-mode": true}
1099 err := s.IAASModel.UpdateModelConfig(attrs, nil)