Skip to content

Commit

Permalink
Rename test function name
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Aug 8, 2024
1 parent 779fe1d commit 7b5b5e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/spix/smoke_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def test_projection(app, screenshot_path, screenshot_check, extra, process_alive


@pytest.mark.project_file("test_image_attachment.qgz")
def test_projection(app, screenshot_path, screenshot_check, extra, process_alive):
def test_image_attachment(app, screenshot_path, screenshot_check, extra, process_alive):
"""
Starts a test app and check for proper reprojection support (including rendering check and message logs).
This also tests that QField is able to reach proj's crucial proj.db
Expand Down Expand Up @@ -212,7 +212,7 @@ def test_projection(app, screenshot_path, screenshot_check, extra, process_alive
assert process_alive()
extra.append(extras.html('<img src="images/test_image_attachment.png"/>'))

assert screenshot_check("test_image_attachment", "test_image_attachment")
assert screenshot_check("test_image_attachment", "test_image_attachment", 0.025)


@pytest.mark.project_file("test_svg.qgz")
Expand Down

0 comments on commit 7b5b5e3

Please sign in to comment.