def test_init_default_inputs(self):
    blueprint_path = os.path.join(BLUEPRINTS_DIR, 'local', DEFAULT_BLUEPRINT_FILE_NAME)
    command = 'cfy init {0}'.format(blueprint_path)
    self.invoke(command)
    cfy.register_commands()
    output = self.invoke('cfy deployments inputs -b local').logs.split('\n')
    self.assertIn('  "key1": "default_val1", ', output)
    self.assertIn('  "key2": "default_val2", ', output)
    self.assertIn('  "key3": "default_val3"', output)
def test_init_default_inputs(self):
    blueprint_path = os.path.join(BLUEPRINTS_DIR, 'local', DEFAULT_BLUEPRINT_FILE_NAME)
    command = 'cfy init {0}'.format(blueprint_path)
    self.invoke(command)
    cfy.register_commands()
    output = self.invoke('cfy deployments inputs -b local').logs.split('\n')
    self.assertIn('  "key1": "default_val1", ', output)
    self.assertIn('  "key2": "default_val2", ', output)
    self.assertIn('  "key3": "default_val3"', output)