Removed unused test

This commit is contained in:
Profitroll 2023-08-10 14:22:10 +02:00
parent ce752d30e2
commit 62ef828e4b
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2

View File

@ -12,6 +12,22 @@ def test_generation():
assert isinstance(image, Image)
def test_saving():
image = generate(
500,
500,
hue_max=1.0,
lum_min=0.3,
lum_max=0.6,
sat_min=0.8,
sat_max=1.0,
lines=0.0,
)
save_image(image, Path("tests/image.jpg"))
assert Path("tests/image.jpg").exists()
remove(Path("tests/image.jpg"))
def test_generation_example_1():
image = generate(color="lightgreen")
assert isinstance(image, Image)
@ -40,27 +56,3 @@ def test_generation_example_5():
emblem=Path("tests/assets/emblem.png"),
)
assert isinstance(image, Image)
def test_generation_example_6():
image = generate(
width=500,
height=500,
)
assert isinstance(image, Image)
def test_saving():
image = generate(
500,
500,
hue_max=1.0,
lum_min=0.3,
lum_max=0.6,
sat_min=0.8,
sat_max=1.0,
lines=0.0,
)
save_image(image, Path("tests/image.jpg"))
assert Path("tests/image.jpg").exists()
remove(Path("tests/image.jpg"))