Skip to content
Permalink
Browse files

Add missing QCoreApplication for TestQgsNoApplication

  • Loading branch information
nyalldawson committed Nov 6, 2017
1 parent 2eff873 commit ca0c8302a1c39e8dee806c1c72220d9bfeac945b
Showing with 4 additions and 1 deletion.
  1. +4 −1 tests/src/python/test_qgsnoapplication.py
@@ -13,7 +13,8 @@
__revision__ = '$Format:%H$'

import qgis # NOQA

import sys
from qgis.PyQt.QtCore import QCoreApplication
from qgis.core import (QgsApplication)
from qgis.testing import unittest

@@ -28,6 +29,8 @@
QgsApplication instance!
"""

app = QCoreApplication(sys.argv)


class TestQgsNoApplication(unittest.TestCase):

0 comments on commit ca0c830

Please sign in to comment.
You can’t perform that action at this time.