mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-07-25 04:34:07 +02:00
test(spinner): remove snap_and_compare tests
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 9.8 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 10 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 14 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 15 KiB |
@@ -1,7 +1,6 @@
|
||||
import pytest
|
||||
|
||||
from bec_widgets.utils.colors import apply_theme
|
||||
from bec_widgets.utils.reference_utils import snap_and_compare
|
||||
from bec_widgets.widgets.utility.spinner.spinner import SpinnerWidget
|
||||
|
||||
|
||||
@@ -23,15 +22,3 @@ def test_spinnner_with_float_angle(spinner_widget, qtbot):
|
||||
spinner_widget.start()
|
||||
spinner_widget.angle = 0.123453453453453
|
||||
spinner_widget.paintEvent(None)
|
||||
|
||||
|
||||
def test_spinner_widget_rendered(spinner_widget, qtbot, tmpdir):
|
||||
spinner_widget.update()
|
||||
qtbot.wait(200)
|
||||
snap_and_compare(spinner_widget, str(tmpdir), suffix="")
|
||||
|
||||
spinner_widget._started = True
|
||||
spinner_widget.update()
|
||||
qtbot.wait(200)
|
||||
|
||||
snap_and_compare(spinner_widget, str(tmpdir), suffix="started")
|
||||
|
||||
Reference in New Issue
Block a user