You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by gi...@apache.org on 2013/12/09 15:07:04 UTC

git commit: updated refs/heads/master to 5cbda8b

Updated Branches:
  refs/heads/master a2e4fdbd5 -> 5cbda8b64


CLOUDSTACK-5269: Fix nose failures.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/5cbda8b6
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5cbda8b6
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5cbda8b6

Branch: refs/heads/master
Commit: 5cbda8b64a127090a255fdfdf188b84e5ed53c74
Parents: a2e4fdb
Author: Santhosh Edukulla <Sa...@citrix.com>
Authored: Mon Dec 9 19:36:10 2013 +0530
Committer: Girish Shilamkar <gi...@clogeny.com>
Committed: Mon Dec 9 19:36:10 2013 +0530

----------------------------------------------------------------------
 tools/marvin/marvin/marvinPlugin.py | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5cbda8b6/tools/marvin/marvin/marvinPlugin.py
----------------------------------------------------------------------
diff --git a/tools/marvin/marvin/marvinPlugin.py b/tools/marvin/marvin/marvinPlugin.py
index 852b84a..f5b7a88 100644
--- a/tools/marvin/marvin/marvinPlugin.py
+++ b/tools/marvin/marvin/marvinPlugin.py
@@ -95,6 +95,17 @@ class MarvinPlugin(Plugin):
             return True
         return None
 
+    def wantFile(self, filename):
+        '''
+        Only python files will be used as test modules
+        '''
+        parts = filename.split(os.path.sep)
+        base, ext = os.path.splitext(parts[-1])
+        if ext == '.py':
+            return True
+        else:
+            return False
+
     def loadTestsFromTestCase(self, cls):
         if cls.__name__ != 'cloudstackTestCase':
             self.identifier = cls.__name__