Пример #1
0
def test_storeConfig_2(qtbot):
    app = SatelliteWindow(app=Test())
    qtbot.addWidget(app)

    app.app.config['satelliteW'] = {}
    suc = app.storeConfig()
    assert suc
Пример #2
0
def test_storeConfig_1(qtbot):
    app = SatelliteWindow(app=Test())
    qtbot.addWidget(app)

    if 'satelliteW' in app.app.config:
        del app.app.config['satelliteW']
    suc = app.storeConfig()
    assert suc