Project

General

Profile

Actions

Bug #2852

closed

Failing tests Unrecognised option '--name'

Added by Martin Bacovsky over 10 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
High
Category:
-
Target version:
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

There is bunch of failing tests in hammer-cli-foreman. The tests are failing with following exception:

HammerCLIForeman::Organization::CreateCommand::organizations disabled#test_0001_should return error:
Clamp::UsageError: Unrecognised option '--name'
/home/mbacovsk/.gem/ruby/gems/clamp-0.6.1/lib/clamp/option/parsing.rb:62:in `find_option'
/home/mbacovsk/.gem/ruby/gems/clamp-0.6.1/lib/clamp/option/parsing.rb:28:in `parse_options'
/home/mbacovsk/.gem/ruby/gems/clamp-0.6.1/lib/clamp/command.rb:52:in `parse'
/home/mbacovsk/.gem/ruby/bundler/gems/hammer-cli-30fa5166d086/lib/hammer_cli/abstract.rb:27:in `parse'
/home/mbacovsk/.gem/ruby/gems/clamp-0.6.1/lib/clamp/command.rb:66:in `run'
/home/mbacovsk/.gem/ruby/bundler/gems/hammer-cli-30fa5166d086/lib/hammer_cli/abstract.rb:19:in `run'
/home/mbacovsk/work/theforeman/hammer-cli-foreman/test/unit/organization_test.rb:14:in `block (2 levels) in it_should_fail_when_disabled'

This should be fixed by new ApiPie, merging https://github.com/theforeman/foreman/pull/817 and releasing new foreman-api gem

Actions #1

Updated by Martin Bacovsky over 10 years ago

  • Description updated (diff)
  • Status changed from New to Resolved

This is fixed in foreman_api >= 0.1.5

Actions #2

Updated by Martin Bacovsky over 10 years ago

  • Project changed from Hammer CLI to Foreman
  • Category changed from Foreman commands (obsolete) to 44
Actions #3

Updated by Dominic Cleal over 10 years ago

  • Project changed from Foreman to Hammer CLI
  • Category deleted (44)
Actions

Also available in: Atom PDF