Fix test
This commit is contained in:
Родитель
929c1738da
Коммит
5dbf2ed275
|
@ -129,14 +129,14 @@ def test_full(tmpdir, capsys, wwt_qt_client):
|
|||
|
||||
wwt.wait(4)
|
||||
|
||||
# assert_widget_image(tmpdir, wwt, 'test_full_step0.png')
|
||||
assert_widget_image(tmpdir, wwt, 'test_full_step0.png')
|
||||
|
||||
gc = SkyCoord(0, 0, unit=('deg', 'deg'), frame='galactic')
|
||||
wwt.center_on_coordinates(gc, 60 * u.deg)
|
||||
|
||||
wwt.wait(4)
|
||||
|
||||
# assert_widget_image(tmpdir, wwt, 'test_full_step1.png')
|
||||
assert_widget_image(tmpdir, wwt, 'test_full_step1.png')
|
||||
|
||||
wwt.constellation_boundary_color = 'red'
|
||||
wwt.constellation_figure_color = 'green'
|
||||
|
@ -147,7 +147,7 @@ def test_full(tmpdir, capsys, wwt_qt_client):
|
|||
|
||||
wwt.wait(4)
|
||||
|
||||
# assert_widget_image(tmpdir, wwt, 'test_full_step2.png')
|
||||
assert_widget_image(tmpdir, wwt, 'test_full_step2.png')
|
||||
|
||||
wwt.constellation_selection = True
|
||||
|
||||
|
@ -157,13 +157,13 @@ def test_full(tmpdir, capsys, wwt_qt_client):
|
|||
|
||||
wwt.wait(4)
|
||||
|
||||
# assert_widget_image(tmpdir, wwt, 'test_full_step3.png')
|
||||
assert_widget_image(tmpdir, wwt, 'test_full_step3.png')
|
||||
|
||||
wwt.foreground = 'SFD Dust Map (Infrared)'
|
||||
|
||||
wwt.wait(4)
|
||||
|
||||
# assert_widget_image(tmpdir, wwt, 'test_full_step4.png')
|
||||
assert_widget_image(tmpdir, wwt, 'test_full_step4.png')
|
||||
|
||||
wwt.foreground = "Black Sky Background"
|
||||
wwt.background = "Black Sky Background"
|
||||
|
|
Загрузка…
Ссылка в новой задаче