Skip to content
Permalink
Browse files

run test

  • Loading branch information
3nids committed May 14, 2020
1 parent 85b6269 commit 714352c6827d24e4440b557f9253c485b7c867d2
Showing with 2 additions and 0 deletions.
  1. +1 −0 tests/src/python/CMakeLists.txt
  2. +1 −0 tests/src/python/test_qgsbasemappathregistry.py
@@ -23,6 +23,7 @@ ADD_PYTHON_TEST(PyQgsAttributeTableConfig test_qgsattributetableconfig.py)
ADD_PYTHON_TEST(PyQgsAttributeTableModel test_qgsattributetablemodel.py)
ADD_PYTHON_TEST(PyQgsAuthenticationSystem test_qgsauthsystem.py)
ADD_PYTHON_TEST(PyQgsBearingUtils test_qgsbearingutils.py)
ADD_PYTHON_TEST(PyQgsBasemapPathRegistry test_qgsbasemappathregistry.py)
ADD_PYTHON_TEST(PyQgsBinaryWidget test_qgsbinarywidget.py)
ADD_PYTHON_TEST(PyQgsBlendModes test_qgsblendmodes.py)
ADD_PYTHON_TEST(PyQgsBlockingNetworkRequest test_qgsblockingnetworkrequest.py)
@@ -50,6 +50,7 @@ def testQgsBasemapPathRegistry(self):

def testOrderOfPreference(self):
temp_dir = gettempdir()
os.mkdir('{}/data'.format(temp_dir))
alt_dir = '{}/{}'.format(temp_dir, MAP_PATH)
Path(alt_dir).touch()
QgsApplication.basemapPathRegistry().registerPath(temp_dir, 0)

0 comments on commit 714352c

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