@@ -195,3 +195,23 @@ def test_order_upgrade(self):
195195 result = self .run_command (['account' , 'orders' , '--upgrades' ])
196196 self .assert_no_fail (result )
197197 self .assert_called_with ('SoftLayer_Account' , 'getUpgradeRequests' )
198+
199+ def test_account_events (self ):
200+ result = self .run_command (['account' , 'events' , '--date-min' , '5/9/2023' ])
201+ self .assert_no_fail (result )
202+ self .assert_called_with (self .SLNOE , 'getAllObjects' )
203+
204+ def test_account_planned_events (self ):
205+ result = self .run_command (['account' , 'events' , '--planned' ])
206+ self .assert_no_fail (result )
207+ self .assert_called_with (self .SLNOE , 'getAllObjects' )
208+
209+ def test_account_unplanned_events (self ):
210+ result = self .run_command (['account' , 'events' , '--unplanned' ])
211+ self .assert_no_fail (result )
212+ self .assert_called_with (self .SLNOE , 'getAllObjects' )
213+
214+ def test_account_announcement_events (self ):
215+ result = self .run_command (['account' , 'events' , '--announcement' ])
216+ self .assert_no_fail (result )
217+ self .assert_called_with (self .SLNOE , 'getAllObjects' )
0 commit comments