Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
Fix test_material_image_uri()
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Stoops committed Nov 26, 2024
1 parent 0a034b0 commit 17832ec
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions tests/test_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,23 +454,14 @@ def test_material_image_uri():
mat = Material(
image=ImageMaterial(
image=Uri(
uri="""data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"""
uri="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"
),
repeat=[2, 2],
color=Color(rgba=[200, 100, 30]),
)
)
assert str(mat) == expected_result

pol_mat = PolylineMaterial(
image=ImageMaterial(
image=Uri(uri="https://site.com/image.png"),
repeat=[2, 2],
color=Color(rgba=[200, 100, 30]),
)
)
assert str(pol_mat) == expected_result


def test_material_grid():
expected_result = """{
Expand Down

0 comments on commit 17832ec

Please sign in to comment.