beeref/tests/test_assets.py
2021-04-05 14:45:18 +02:00

14 lines
351 B
Python

from PyQt6 import QtGui
from beeref.assets import BeeAssets
from .base import BeeTestCase
class GetRectFromPointsTestCase(BeeTestCase):
def test_singleton(self):
assert BeeAssets() is BeeAssets()
assert BeeAssets().logo is BeeAssets().logo
def test_has_logo(self):
assert isinstance(BeeAssets().logo, QtGui.QIcon)