Add video gallery section with YouTube Shorts

- Update app.py to include video IDs
- Add video section to index.html
- Add CSS for vertical video aspect ratio
- Add basic integration test

Co-authored-by: abustosp <63634574+abustosp@users.noreply.github.com>
This commit is contained in:
google-labs-jules[bot]
2026-02-01 00:41:22 +00:00
parent 4ac5d13881
commit af93b49a14
4 changed files with 91 additions and 0 deletions

18
test_app.py Normal file
View File

@@ -0,0 +1,18 @@
import pytest
from app import app
@pytest.fixture
def client():
app.config['TESTING'] = True
with app.test_client() as client:
yield client
def test_home_page(client):
"""Test that the home page loads successfully."""
response = client.get('/')
assert response.status_code == 200
assert b"Vive la naturaleza" in response.data
# Check for presence of video IDs (checking the first two)
assert b"656GdIPFvjE" in response.data
assert b"5OpuBwlszB0" in response.data