tests: Move images
@ -52,7 +52,7 @@ class Command(BaseCommand):
|
||||
image_object = Image()
|
||||
image_object.alt_text = f"Picture of {animal}"
|
||||
image_object.title = f"Picture of {animal}"
|
||||
image_object.image.save(f"{filename}", File(open(f"./src/fellchensammlung/tests/assets/{filename}", 'rb')))
|
||||
image_object.image.save(f"{filename}", File(open(f"./src/tests/assets/{filename}", 'rb')))
|
||||
image_object.save()
|
||||
|
||||
animal.photos.add(image_object)
|
||||
|
Before Width: | Height: | Size: 350 KiB After Width: | Height: | Size: 350 KiB |
Before Width: | Height: | Size: 385 KiB After Width: | Height: | Size: 385 KiB |
Before Width: | Height: | Size: 3.4 MiB After Width: | Height: | Size: 3.4 MiB |
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |
Before Width: | Height: | Size: 2.8 MiB After Width: | Height: | Size: 2.8 MiB |
Before Width: | Height: | Size: 2.3 MiB After Width: | Height: | Size: 2.3 MiB |