File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 3
3
4
4
class TestTestCase (InertiaTestCase ):
5
5
def test_include_props (self ):
6
- response = self .client .get ("/props/" )
6
+ self .client .get ("/props/" )
7
7
8
8
self .assertIncludesProps ({"name" : "Brandon" })
9
9
10
10
def test_has_exact_props (self ):
11
- response = self .client .get ("/props/" )
11
+ self .client .get ("/props/" )
12
12
13
13
self .assertHasExactProps ({"name" : "Brandon" , "sport" : "Hockey" })
14
14
15
15
def test_has_template_data (self ):
16
- response = self .client .get ("/template_data/" )
16
+ self .client .get ("/template_data/" )
17
17
18
18
self .assertIncludesTemplateData ({"name" : "Brian" })
19
19
20
20
def test_has_exact_template_data (self ):
21
- response = self .client .get ("/template_data/" )
21
+ self .client .get ("/template_data/" )
22
22
23
23
self .assertHasExactTemplateData ({"name" : "Brian" , "sport" : "Basketball" })
24
24
25
25
def test_component_name (self ):
26
- response = self .client .get ("/props/" )
26
+ self .client .get ("/props/" )
27
27
28
28
self .assertComponentUsed ("TestComponent" )
You can’t perform that action at this time.
0 commit comments