Skip to content

Commit

Permalink
Add missing QCoreApplication for TestQgsNoApplication
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 6, 2017
1 parent 2eff873 commit ca0c830
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/src/python/test_qgsnoapplication.py
Expand Up @@ -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

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

app = QCoreApplication(sys.argv)


class TestQgsNoApplication(unittest.TestCase):

Expand Down

0 comments on commit ca0c830

Please sign in to comment.