Updated Branches:
  refs/heads/4.3 11d8c4618 -> 6b5402bbf

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/6b5402bb
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/6b5402bb
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/6b5402bb

Branch: refs/heads/4.3
Commit: 6b5402bbff9fc6aedd27033316b8ad988a21dd60
Parents: 11d8c46
Author: Santhosh Edukulla <[email protected]>
Authored: Mon Dec 9 19:36:10 2013 +0530
Committer: Girish Shilamkar <[email protected]>
Committed: Mon Dec 9 19:41:49 2013 +0530

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6b5402bb/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__

Reply via email to