Project

General

Profile

Actions

Bug #2852

closed

Failing tests Unrecognised option '--name'

Added by Martin Bacovsky almost 11 years ago. Updated almost 6 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

Also available in: Atom PDF