@@ -77,13 +77,13 @@ async def on_installation_update(self, turn_context: TurnContext):
77
77
self .record .append ("on_installation_update" )
78
78
return await super ().on_installation_update (turn_context )
79
79
80
- async def on_installation_update_add_activity (self , turn_context : TurnContext ):
81
- self .record .append ("on_installation_update_add_activity " )
82
- return await super ().on_installation_update_add_activity (turn_context )
80
+ async def on_installation_update_add (self , turn_context : TurnContext ):
81
+ self .record .append ("on_installation_update_add " )
82
+ return await super ().on_installation_update_add (turn_context )
83
83
84
- async def on_installation_update_remove_activity (self , turn_context : TurnContext ):
85
- self .record .append ("on_installation_update_remove_activity " )
86
- return await super ().on_installation_update_remove_activity (turn_context )
84
+ async def on_installation_update_remove (self , turn_context : TurnContext ):
85
+ self .record .append ("on_installation_update_remove " )
86
+ return await super ().on_installation_update_remove (turn_context )
87
87
88
88
async def on_unrecognized_activity_type (self , turn_context : TurnContext ):
89
89
self .record .append ("on_unrecognized_activity_type" )
@@ -254,7 +254,7 @@ async def test_on_installation_update(self):
254
254
assert len (bot .record ) == 1
255
255
assert bot .record [0 ] == "on_installation_update"
256
256
257
- async def test_on_installation_update_add_activity (self ):
257
+ async def test_on_installation_update_add (self ):
258
258
activity = Activity (type = ActivityTypes .installation_update , action = "add" )
259
259
260
260
adapter = TestInvokeAdapter ()
@@ -266,9 +266,9 @@ async def test_on_installation_update_add_activity(self):
266
266
267
267
assert len (bot .record ) == 2
268
268
assert bot .record [0 ] == "on_installation_update"
269
- assert bot .record [1 ] == "on_installation_update_add_activity "
269
+ assert bot .record [1 ] == "on_installation_update_add "
270
270
271
- async def test_on_installation_update_add_remove_activity (self ):
271
+ async def test_on_installation_update_add_remove (self ):
272
272
activity = Activity (type = ActivityTypes .installation_update , action = "remove" )
273
273
274
274
adapter = TestInvokeAdapter ()
@@ -280,7 +280,7 @@ async def test_on_installation_update_add_remove_activity(self):
280
280
281
281
assert len (bot .record ) == 2
282
282
assert bot .record [0 ] == "on_installation_update"
283
- assert bot .record [1 ] == "on_installation_update_remove_activity "
283
+ assert bot .record [1 ] == "on_installation_update_remove "
284
284
285
285
async def test_healthcheck (self ):
286
286
activity = Activity (type = ActivityTypes .invoke , name = "healthcheck" ,)
0 commit comments