Project

General

Profile

Revision bf81b9cf

Added by Thomas McKay over 8 years ago

test-fixes - setup_test clean except for manifest upload repeat

View differences:

test/csv_test_helper.rb
14 14
require "minitest-spec-context"
15 15
require "mocha/setup"
16 16

  
17
require 'hammer_cli'
18
require 'hammer_cli_foreman/commands'
19

  
20
HammerCLI::Settings.load_from_file 'test/config.yml'
21

  
17 22
require 'hammer_cli_csv'
18
require 'hammer_cli_katello'
19 23
require 'hammer_cli_foreman'
24
require 'hammer_cli_katello'
20 25

  
21 26
def ctx
22 27
  {
23
    :interactive => false
28
    :interactive => false,
29
    :username => 'admin',
30
    :password => 'changeme'
24 31
  }
25 32
end
26 33

  

Also available in: Unified diff