Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 67CF7117DA for ; Wed, 10 Sep 2014 09:10:38 +0000 (UTC) Received: (qmail 7487 invoked by uid 500); 10 Sep 2014 09:10:37 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 7436 invoked by uid 500); 10 Sep 2014 09:10:37 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 7421 invoked by uid 99); 10 Sep 2014 09:10:36 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2014 09:10:36 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 5483F1DD5ED; Wed, 10 Sep 2014 09:10:35 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============9110266271551789154==" MIME-Version: 1.0 Subject: Re: Review Request 25474: CLOUDSTACK-7519: Using bound/unbound methods instead of directly calling API methods from test case From: "SrikanteswaraRao Talluri" To: "Santhosh Edukulla" , "sanjeev n" , "SrikanteswaraRao Talluri" Cc: "Gaurav Aradhye" , "cloudstack" Date: Wed, 10 Sep 2014 09:10:35 -0000 Message-ID: <20140910091035.23924.97357@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "SrikanteswaraRao Talluri" X-ReviewGroup: cloudstack X-ReviewRequest-URL: https://reviews.apache.org/r/25474/ X-Sender: "SrikanteswaraRao Talluri" References: <20140909121700.23929.48100@reviews.apache.org> In-Reply-To: <20140909121700.23929.48100@reviews.apache.org> Reply-To: "SrikanteswaraRao Talluri" X-ReviewRequest-Repository: cloudstack-git --===============9110266271551789154== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25474/#review52839 ----------------------------------------------------------- Ship it! Thanks for this followup patch. pushed to master 81d5dd9bcda185ff83820f8dd6233cf80f8efaed - SrikanteswaraRao Talluri On Sept. 9, 2014, 12:17 p.m., Gaurav Aradhye wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/25474/ > ----------------------------------------------------------- > > (Updated Sept. 9, 2014, 12:17 p.m.) > > > Review request for cloudstack, sanjeev n, Santhosh Edukulla, and SrikanteswaraRao Talluri. > > > Bugs: CLOUDSTACK-7519 > https://issues.apache.org/jira/browse/CLOUDSTACK-7519 > > > Repository: cloudstack-git > > > Description > ------- > > As suggested in RR: https://reviews.apache.org/r/25433/ > > test_templates.py file has many instances where direct APIs are called from the test case. Instead we have the methods in base library that can be used. > > > Diffs > ----- > > test/integration/smoke/test_templates.py b7fe49d > tools/marvin/marvin/lib/base.py 2a763ce > > Diff: https://reviews.apache.org/r/25474/diff/ > > > Testing > ------- > > Yes. > > Tested on KVM setup. > > Log: > Test create public & private template ... === TestName: test_01_create_template | Status : SUCCESS === > ok > Test Edit template ... === TestName: test_02_edit_template | Status : SUCCESS === > ok > Test delete template ... === TestName: test_03_delete_template | Status : SUCCESS === > ok > Test for extract template ... === TestName: test_04_extract_template | Status : SUCCESS === > ok > Update & Test for template permissions ... === TestName: test_05_template_permissions | Status : SUCCESS === > ok > Test for copy template from one zone to another ... === TestName: test_06_copy_template | Status : SUCCESS === > ok > Test only public templates are visible to normal user ... === TestName: test_07_list_public_templates | Status : SUCCESS === > ok > Test System templates are not visible to normal user ... === TestName: test_08_list_system_templates | Status : SUCCESS === > ok > > ---------------------------------------------------------------------- > Ran 8 tests in 1007.401s > > OK > > > Thanks, > > Gaurav Aradhye > > --===============9110266271551789154==--