def test_init_with_inputs(self):
    blueprint_path = os.path.join(BLUEPRINTS_DIR, 'local', DEFAULT_BLUEPRINT_FILE_NAME)
    command = 'cfy init {0} -i {1} -i key3=val3'.format(blueprint_path, SAMPLE_INPUTS_PATH)
    self.invoke(command)
    cfy.register_commands()
    output = self.invoke('cfy deployments inputs -b local').logs.split('\n')
    self.assertIn('  "key1": "val1", ', output)
    self.assertIn('  "key2": "val2", ', output)
    self.assertIn('  "key3": "val3"', output)
def test_init_with_inputs(self):
    blueprint_path = os.path.join(BLUEPRINTS_DIR, 'local', DEFAULT_BLUEPRINT_FILE_NAME)
    command = 'cfy init {0} -i {1} -i key3=val3'.format(blueprint_path, SAMPLE_INPUTS_PATH)
    self.invoke(command)
    cfy.register_commands()
    output = self.invoke('cfy deployments inputs -b local').logs.split('\n')
    self.assertIn('  "key1": "val1", ', output)
    self.assertIn('  "key2": "val2", ', output)
    self.assertIn('  "key3": "val3"', output)