File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ 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
-
17
+
18
18
if sys .version_info >= (3 , 9 ):
19
19
self .assertTrue (check_input_type (list [func .EventGridEvent ]))
20
20
@@ -26,11 +26,11 @@ def test_eventgrid_input_type(self):
26
26
def test_eventgrid_output_type (self ):
27
27
check_output_type = azf_event_grid .EventGridEventOutConverter .\
28
28
check_output_type_annotation
29
-
29
+
30
30
if sys .version_info >= (3 , 9 ):
31
31
self .assertTrue (check_output_type (list [func .EventGridEvent ]))
32
32
self .assertTrue (check_output_type (list [str ]))
33
-
33
+
34
34
self .assertTrue (check_output_type (func .EventGridOutputEvent ))
35
35
self .assertTrue (check_output_type (List [func .EventGridOutputEvent ]))
36
36
self .assertTrue (check_output_type (str ))
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ def test_eventhub_input_type(self):
23
23
azf_eh .EventHubConverter .check_input_type_annotation
24
24
)
25
25
if sys .version_info >= (3 , 9 ):
26
- self .assertTrue (check_input_type (list [func .EventGridEvent ]))
27
- self .assertTrue (check_input_type (list [str ]))
26
+ self .assertTrue (check_input_type (list [func .EventGridEvent ]))
27
+ self .assertTrue (check_input_type (list [str ]))
28
28
29
29
self .assertTrue (check_input_type (func .EventHubEvent ))
30
30
self .assertTrue (check_input_type (List [func .EventHubEvent ]))
@@ -38,9 +38,9 @@ def test_eventhub_output_type(self):
38
38
)
39
39
40
40
if sys .version_info >= (3 , 9 ):
41
- self .assertTrue (check_output_type (list [func .EventGridEvent ]))
42
- self .assertTrue (check_output_type (list [str ]))
43
-
41
+ self .assertTrue (check_output_type (list [func .EventGridEvent ]))
42
+ self .assertTrue (check_output_type (list [str ]))
43
+
44
44
self .assertTrue (check_output_type (bytes ))
45
45
self .assertTrue (check_output_type (str ))
46
46
self .assertTrue (check_output_type (List [str ]))
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ def test_kafka_input_type(self):
38
38
if sys .version_info >= (3 , 9 ):
39
39
self .assertTrue (check_input_type (list [func .KafkaEvent ]))
40
40
self .assertTrue (check_input_type (list [str ]))
41
-
41
+
42
42
self .assertTrue (check_input_type (func .KafkaEvent ))
43
43
self .assertTrue (check_input_type (List [func .KafkaEvent ]))
44
44
self .assertFalse (check_input_type (str ))
You can’t perform that action at this time.
0 commit comments