diff --git a/pythonpro/core/templates/core/base.html b/pythonpro/core/templates/core/base.html
index 15c44415..f482ab11 100644
--- a/pythonpro/core/templates/core/base.html
+++ b/pythonpro/core/templates/core/base.html
@@ -3,7 +3,7 @@
diff --git a/pythonpro/promos/tests/test_views.py b/pythonpro/promos/tests/test_views.py
index 023795ed..d50956ec 100644
--- a/pythonpro/promos/tests/test_views.py
+++ b/pythonpro/promos/tests/test_views.py
@@ -1,15 +1,22 @@
import pytest
-
from django.urls import reverse
+from model_mommy import mommy
+
+from pythonpro.promos.models import Video
@pytest.fixture
-def video_resp(client, transactional_db):
+def video_resp(client, video):
return client.get(
- reverse(viewname='promos:video', args=('motivacao',)),
+ reverse(viewname='promos:video', args=(video.slug,)),
)
+@pytest.fixture
+def video(transactional_db):
+ return mommy.make(Video)
+
+
def test_video_status(video_resp):
assert 200 == video_resp.status_code
@@ -24,7 +31,6 @@ def test_ty_status(client):
@pytest.mark.parametrize(
'content',
[
- '