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/setup_test.rb
101 101

  
102 102
  context 'subscription setup' do
103 103
    it "hammer -v subscription upload --organization-id megacorp --file test/data/megacorp.zip" do
104
      # TODO: http://projects.theforeman.org/issues/4748
105
      "".must_equal "TODO: Bug #4748 - errors on import manifest should complete dynflow task and display information to user"
104 106
      stdout,stderr = capture {
105 107
        hammer.run(%W{-v subscription upload --organization-id megacorp --file test/data/megacorp.zip})
106 108
      }
......
125 127
        hammer.run(%W{-v csv:lifecycleenv --csv-file test/data/lifecycleenvironments.csv})
126 128
      }
127 129
      stderr.must_equal ''
128
      stdout.must_match /.*xxx.*/
130
      stdout.must_match /.*environment 'Development'.*/
129 131
    end
130 132
  end
131 133

  

Also available in: Unified diff