File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,6 @@ class MyTestCase(unittest.TestCase):
14
14
def test_eventgrid_input_type (self ):
15
15
check_input_type = azf_event_grid .EventGridEventInConverter .\
16
16
check_input_type_annotation
17
-
18
- if sys .version_info >= (3 , 9 ):
19
- self .assertTrue (check_input_type (list [func .EventGridEvent ]))
20
-
21
17
self .assertTrue (check_input_type (func .EventGridEvent ))
22
18
self .assertFalse (check_input_type (List [func .EventGridEvent ]))
23
19
self .assertFalse (check_input_type (str ))
@@ -28,7 +24,7 @@ def test_eventgrid_output_type(self):
28
24
check_output_type_annotation
29
25
30
26
if sys .version_info >= (3 , 9 ):
31
- self .assertTrue (check_output_type (list [func .EventGridEvent ]))
27
+ self .assertTrue (check_output_type (list [func .EventGridOutputEvent ]))
32
28
self .assertTrue (check_output_type (list [str ]))
33
29
34
30
self .assertTrue (check_output_type (func .EventGridOutputEvent ))
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ def test_kafka_input_type(self):
37
37
38
38
if sys .version_info >= (3 , 9 ):
39
39
self .assertTrue (check_input_type (list [func .KafkaEvent ]))
40
- self .assertTrue (check_input_type (list [str ]))
41
40
42
41
self .assertTrue (check_input_type (func .KafkaEvent ))
43
42
self .assertTrue (check_input_type (List [func .KafkaEvent ]))
@@ -51,9 +50,7 @@ def test_kafka_output_type(self):
51
50
)
52
51
53
52
if sys .version_info >= (3 , 9 ):
54
- self .assertTrue (check_output_type (list [func .KafkaEvent ]))
55
53
self .assertTrue (check_output_type (list [str ]))
56
- self .assertTrue (check_output_type (list [bytes ]))
57
54
58
55
self .assertTrue (check_output_type (bytes ))
59
56
self .assertTrue (check_output_type (str ))
You can’t perform that action at this time.
0 commit comments