Skip to content

Commit 714352c

Browse files
committedMay 19, 2020
run test
1 parent 85b6269 commit 714352c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
 

‎tests/src/python/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ ADD_PYTHON_TEST(PyQgsAttributeTableConfig test_qgsattributetableconfig.py)
2323
ADD_PYTHON_TEST(PyQgsAttributeTableModel test_qgsattributetablemodel.py)
2424
ADD_PYTHON_TEST(PyQgsAuthenticationSystem test_qgsauthsystem.py)
2525
ADD_PYTHON_TEST(PyQgsBearingUtils test_qgsbearingutils.py)
26+
ADD_PYTHON_TEST(PyQgsBasemapPathRegistry test_qgsbasemappathregistry.py)
2627
ADD_PYTHON_TEST(PyQgsBinaryWidget test_qgsbinarywidget.py)
2728
ADD_PYTHON_TEST(PyQgsBlendModes test_qgsblendmodes.py)
2829
ADD_PYTHON_TEST(PyQgsBlockingNetworkRequest test_qgsblockingnetworkrequest.py)

‎tests/src/python/test_qgsbasemappathregistry.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def testQgsBasemapPathRegistry(self):
5050

5151
def testOrderOfPreference(self):
5252
temp_dir = gettempdir()
53+
os.mkdir('{}/data'.format(temp_dir))
5354
alt_dir = '{}/{}'.format(temp_dir, MAP_PATH)
5455
Path(alt_dir).touch()
5556
QgsApplication.basemapPathRegistry().registerPath(temp_dir, 0)

0 commit comments

Comments
 (0)
Please sign in to comment.