Example #1
0
 def setUpClass(cls):
     """Test setUp method."""
     utils.setUpEnv()
     # create qgis application stub
     # do not need to call exitQgis()
     cls.QGIS_APP, cls.CANVAS, cls.IFACE, cls.PARENT = get_qgis_app()
     # create the instance to test
     cls.testerPlugin = TesterPlugin(cls.IFACE)
Example #2
0
 def setUpClass(cls):
     """Test setUp method."""
     utils.setUpEnv()
     # create qgis application stub
     # do not need to call exitQgis()
     cls.QGIS_APP, cls.CANVAS, cls.IFACE, cls.PARENT = get_qgis_app()
     # create the instance to test
     cls.testerPlugin = TesterPlugin(cls.IFACE)
 def setUpClass(cls):
     """Test setUp method."""
     utils.setUpEnv()
Example #4
0
 def setUpClass(cls):
     """Test setUp method."""
     utils.setUpEnv()