From: Cornelius Schumacher <schumacher@kde.org> --- docs/api/api.txt.test | 2 +- docs/api/rest_test | 2 +- docs/api/rest_test.rb | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/api/api.txt.test b/docs/api/api.txt.test index f8c23e9..0bba397 100644 --- a/docs/api/api.txt.test +++ b/docs/api/api.txt.test @@ -1,7 +1,7 @@ @arg_project="plutimikation" @arg_package="plutimikation" @arg_filename="plutimikation.spec" -@arg_platform="factory/standard" +@arg_platform="sl10.0" @arg_arch="i586" @arg_userid="Admin" @arg_rpmname="plutimikation.rpm" diff --git a/docs/api/rest_test b/docs/api/rest_test index 88fcb28..25175a4 100755 --- a/docs/api/rest_test +++ b/docs/api/rest_test @@ -121,7 +121,7 @@ begin runner.context.user = user runner.context.password = password if ( options.verbose ) - runner.context.show_body = true + runner.context.show_xmlbody = true end runner.run options.testfile diff --git a/docs/api/rest_test.rb b/docs/api/rest_test.rb index f3d4de6..eb5bbcc 100644 --- a/docs/api/rest_test.rb +++ b/docs/api/rest_test.rb @@ -6,7 +6,7 @@ end class TestContext - attr_writer :user, :password, :show_body + attr_writer :user, :password, :show_xmlbody def initialize requests @requests = requests @@ -115,7 +115,7 @@ class TestContext if ( response ) puts " return code: #{response.code}" - if ( @show_body ) + if ( xml_result && @show_xmlbody ) puts response.body end -- 1.7.7 -- To unsubscribe, e-mail: obs-commits+unsubscribe@opensuse.org To contact the owner, e-mail: obs-commits+owner@opensuse.org