eric7/Project/Project.py

branch
unittest
changeset 9065
39405e6eba20
parent 9056
af7c8c7b7c62
child 9070
eab09a1ab8ce
diff -r 339bb8c8007d -r 39405e6eba20 eric7/Project/Project.py
--- a/eric7/Project/Project.py	Sun May 15 18:08:31 2022 +0200
+++ b/eric7/Project/Project.py	Mon May 16 17:22:43 2022 +0200
@@ -525,6 +525,7 @@
             },
             "EOL": -1,
             "DOCSTRING": "",
+            "TESTING_FRAMEWORK": "",
         }
         
         self.__initDebugProperties()
@@ -3766,6 +3767,18 @@
         
         return execPath
     
+    def getProjectTestingFramework(self):
+        """
+        Public method to get the testing framework name of the project.
+        
+        @return testing framework name of the project
+        @rtype str
+        """
+        try:
+            return self.pdata["TESTING_FRAMEWORK"]
+        except KeyError:
+            return ""
+    
     def __isInPdata(self, fn):
         """
         Private method used to check, if the passed in filename is project

eric ide

mercurial