Skip to content

Commit b914846

Browse files
committed
before j merge 202504
1 parent 3cf6978 commit b914846

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import pytest
2+
3+
from mapmanagercore.data import getTiffChannel_1
4+
5+
from pymapmanager.interface import PyMapManagerApp
6+
7+
# this makes qapp be our PyMapManagerApp, it is derived from QApplication
8+
@pytest.fixture(scope="session")
9+
def qapp_cls():
10+
return PyMapManagerApp
11+
12+
def test_plugins_empty(qtbot, qapp):
13+
14+
mmapPath = getTiffChannel_1()
15+
sw = qapp.loadStackWidget(mmapPath)
16+
17+
pluginName = 'Channel Editor'
18+
sw.runPlugin(pluginName)

0 commit comments

Comments
 (0)