Skip to content

Commit 30e1beb

Browse files
renzonrenzon
authored andcommitted
Changed Renzo's Picture
close #1495
1 parent bc24a03 commit 30e1beb

9 files changed

Lines changed: 11 additions & 11 deletions

File tree

pythonpro/cohorts/tests/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
from pythonpro import settings
99
from pythonpro.cohorts.models import Cohort, Webinar
1010

11-
img_path = path.join(settings.BASE_DIR, 'pythonpro', 'core', 'static', 'img', 'instructors', 'renzo-nuccitelli.png')
11+
img_path = path.join(settings.BASE_DIR, 'pythonpro', 'core', 'static', 'img', 'instructors', 'renzo-nuccitelli.jpeg')
1212

1313

1414
@pytest.fixture
1515
def cohort(client, django_user_model):
1616
user = mommy.make(django_user_model)
17-
image = SimpleUploadedFile(name='renzo-nuccitelli.png', content=open(img_path, 'rb').read(),
17+
image = SimpleUploadedFile(name='renzo-nuccitelli.jpeg', content=open(img_path, 'rb').read(),
1818
content_type='image/png')
1919
cohort = mommy.make(Cohort, slug='guido-van-rossum', title='Guido van Rossum', students=[user], image=image)
2020
return cohort
@@ -23,7 +23,7 @@ def cohort(client, django_user_model):
2323
@pytest.fixture
2424
def webinars(cohort):
2525
now = datetime.utcnow()
26-
image = SimpleUploadedFile(name='renzo-nuccitelli.png', content=open(img_path, 'rb').read(),
26+
image = SimpleUploadedFile(name='renzo-nuccitelli.jpeg', content=open(img_path, 'rb').read(),
2727
content_type='image/png')
2828
return [
2929
mommy.make(Webinar, cohort=cohort, vimeo_id=str(i), image=image, start=now + timedelta(days=i)) for i in

pythonpro/cohorts/tests/test_cohorts.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def resp(client_with_member, cohort):
2020

2121
@pytest.fixture
2222
def resp_without_user(client, db):
23-
image = SimpleUploadedFile(name='renzo-nuccitelli.png', content=open(img_path, 'rb').read(),
23+
image = SimpleUploadedFile(name='renzo-nuccitelli.jpeg', content=open(img_path, 'rb').read(),
2424
content_type='image/png')
2525
cohort = mommy.make(Cohort, slug='guido-van-rossum', image=image)
2626
resp = client.get(reverse('cohorts:detail', kwargs={'slug': cohort.slug}), secure=True)
@@ -35,7 +35,7 @@ def test_no_access(resp_without_user):
3535
def test_cohort_links_for_logged_user(client, django_user_model):
3636
user = mommy.make(django_user_model)
3737
client.force_login(user)
38-
image = SimpleUploadedFile(name='renzo-nuccitelli.png', content=open(img_path, 'rb').read(),
38+
image = SimpleUploadedFile(name='renzo-nuccitelli.jpeg', content=open(img_path, 'rb').read(),
3939
content_type='image/png')
4040
cohorts = mommy.make(Cohort, 4, image=image)
4141
resp = client.get('/', secure=True)
@@ -45,7 +45,7 @@ def test_cohort_links_for_logged_user(client, django_user_model):
4545

4646
@pytest.mark.django_db
4747
def test_cohort_links_not_avaliable_for_no_user(client):
48-
image = SimpleUploadedFile(name='renzo-nuccitelli.png', content=open(img_path, 'rb').read(),
48+
image = SimpleUploadedFile(name='renzo-nuccitelli.jpeg', content=open(img_path, 'rb').read(),
4949
content_type='image/png')
5050
cohorts = mommy.make(Cohort, 4, image=image)
5151
resp = client.get('/', secure=True)

pythonpro/cohorts/tests/test_webinar_detail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
@pytest.fixture
1212
def webinar(cohort) -> Webinar:
13-
image = SimpleUploadedFile(name='renzo-nuccitelli.png', content=open(img_path, 'rb').read(),
13+
image = SimpleUploadedFile(name='renzo-nuccitelli.jpeg', content=open(img_path, 'rb').read(),
1414
content_type='image/png')
1515
return mommy.make(Webinar, cohort=cohort, image=image)
1616

25.1 KB
Loading
10.4 KB
Loading
-38.9 KB
Binary file not shown.
-82.2 KB
Binary file not shown.

pythonpro/core/templates/core/instructors.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ <h5 class="card-title text-center">Luciano Ramalho</h5>
4848
<h5 class="card-title text-center">Renzo Nuccitelli</h5>
4949
<p class="card-text">
5050
<img class="img-thumbnail float-right ml-1"
51-
src="{% static 'img/instructors/renzo-nuccitelli.png' %}"
51+
src="{% static 'img/instructors/renzo-nuccitelli.jpeg' %}"
5252
alt="Instrutor Renzo Nuccitelli">Engenheiro de Computação formado pelo ITA.
5353
Especialista em
5454
programação web. Hoje é Diretor de Tecnologia na Pricez.

pythonpro/payments/templates/payments/client_landing_page.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,11 @@ <h1 class='text-light font-weight-bold'>Chegou a hora de ir além do básico!</h
130130
<h2 class='font-weight-bold mb-5'>Olá! Eu me chamo Renzo Nuccitelli,</h2>
131131

132132
<div class='text-center d-block d-lg-none d-xl-none'>
133-
<img src='{% static "img/profile.jpeg" %}' class="img-fluid" width="300px">
133+
<img src='{% static 'img/instructors/renzo-nuccitelli-300.jpeg' %}' class="img-fluid" width="300px" alt="Foto de Renzo Nuccitelli" />
134134
</div>
135135

136-
<img src='{% static "img/profile.jpeg" %}'
137-
class="img-fluid float-right ml-3 mb-3 d-none d-sm-block d-md-block" width="300px">
136+
<img src='{% static 'img/instructors/renzo-nuccitelli-300.jpeg' %}'
137+
class="img-fluid float-right ml-3 mb-3 d-none d-sm-block d-md-block" width="300px" alt="Foto de Renzo Nuccitelli" />
138138

139139
<p>
140140
Sou programador há 13 anos. Já fui diretor de tecnologia em duas empresas

0 commit comments

Comments
 (0)