File tree Expand file tree Collapse file tree 3 files changed +4
-13
lines changed Expand file tree Collapse file tree 3 files changed +4
-13
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{% extends 'base.html' %}
22{% block content %}
33
4- {% import 'banner.html' as banner %}
5- {{ banner.render_banner(image) }}
4+ < div class ="banner ">
5+ < img src ="{{ image }} " width ="100% " border ="0 ">
6+ </ div >
67
78{% if series %}
89< div class ="panel panel-default ">
Original file line number Diff line number Diff line change @@ -11,12 +11,7 @@ def app(self):
1111
1212 def test_get_home (self ):
1313 response = self .client .get ("/" )
14- assert '<h1>Hello world!</h1>' in response .data .decode ('utf-8' )
15- assert response .status_code == 200
16-
17- def test_get_name (self ):
18- response = self .client .get ("/Rafael" )
19- assert '<h1>Hello Rafael!</h1>' in response .data .decode ('utf-8' )
14+ assert '<div class="banner">' in response .data .decode ('utf-8' )
2015 assert response .status_code == 200
2116
2217 def test_get_add (self ):
You can’t perform that action at this time.
0 commit comments