File: test_application.py

package info (click to toggle)
magicgui 0.9.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 21,796 kB
  • sloc: python: 11,202; makefile: 11; sh: 9
file content (7 lines) | stat: -rw-r--r-- 186 bytes parent folder | download
1
2
3
4
5
6
7
from magicgui import use_app
from magicgui.application import APPLICATION_NAME


def test_app_name():
    app = use_app("qt")
    assert app.native.applicationName() == APPLICATION_NAME