def test_photo_extensions(): photo = Photo() extensions = photo.extensions assert 'jpg' in extensions assert 'jpeg' in extensions assert 'nef' in extensions assert 'dng' in extensions assert 'gif' in extensions valid_extensions = Photo.get_valid_extensions() assert extensions == valid_extensions, valid_extensions
def test_photo_extensions(): photo = Photo() extensions = photo.extensions assert "jpg" in extensions assert "jpeg" in extensions assert "nef" in extensions assert "dng" in extensions assert "gif" in extensions valid_extensions = Photo.get_valid_extensions() assert extensions == valid_extensions, valid_extensions