----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/16121/#review29995 -----------------------------------------------------------
you can get the extension in a single line: extension = os.path.splitext(filename)[1] - Sebastien Goasguen On Dec. 9, 2013, 7:03 a.m., Santhosh Edukulla wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/16121/ > ----------------------------------------------------------- > > (Updated Dec. 9, 2013, 7:03 a.m.) > > > Review request for cloudstack and Girish Shilamkar. > > > Bugs: CLOUDSTACK-5269 and CLOUDSTACK-5378 > https://issues.apache.org/jira/browse/CLOUDSTACK-5269 > https://issues.apache.org/jira/browse/CLOUDSTACK-5378 > > > Repository: cloudstack-git > > > Description > ------- > > Currently, post discovery other scripts away from python files are as well > pickedup for running which are available in a given package and > which follows nose default convention, though these files sometimes are not > tests. > > Added explicit check to pickup only python tests for execution for now. > > Note: As of now python integration tests are only run using nose. If there > are any requirements that can be modified. > > > Diffs > ----- > > tools/marvin/marvin/marvinPlugin.py 852b84a > > Diff: https://reviews.apache.org/r/16121/diff/ > > > Testing > ------- > > Tested DeployDC,Basic Sanity post the changes > > > Thanks, > > Santhosh Edukulla > >