Lines Matching refs:args
59 args = mock.MagicMock()
60 args.autoconnect = True
61 args.no_prompt = False
68 create._CheckForAutoconnect(args)
69 self.assertEqual(args.autoconnect, False)
72 args.autoconnect = True
75 create._CheckForAutoconnect(args)
76 self.assertEqual(args.autoconnect, True)
80 create._CheckForAutoconnect(args)
81 self.assertEqual(args.autoconnect, False)
86 args = mock.MagicMock()
87 args.autoconnect = constants.INS_KEY_WEBRTC
88 args.local_instance = None
89 args.args.config_file = "fake_path"
109 create._CheckForSetup(args)
120 create._CheckForSetup(args)
131 args.local_instance = None
132 args.local_image = None
133 create._CheckForSetup(args)
143 args.local_instance = None
144 args.local_image = ""
145 create._CheckForSetup(args)
155 args.local_instance = 0
156 args.local_image = None
157 create._CheckForSetup(args)
167 args.local_instance = 0
168 args.local_image = ""
169 create._CheckForSetup(args)
181 args = mock.MagicMock()
193 args.skip_pre_run_check = False
194 create.Run(args)
198 args.skip_pre_run_check = True
200 create.Run(args)