beeref/tests/test_assets.py

13 lines
255 B
Python
Raw Permalink Normal View History

2021-04-05 12:45:18 +00:00
from PyQt6 import QtGui
from beeref.assets import BeeAssets
2021-05-31 16:11:45 +00:00
def test_singleton(view):
assert BeeAssets() is BeeAssets()
assert BeeAssets().logo is BeeAssets().logo
2021-04-05 12:45:18 +00:00
2021-05-31 16:11:45 +00:00
def test_has_logo(view):
assert isinstance(BeeAssets().logo, QtGui.QIcon)