#NEWLINE# def test_update_no_service_name( self ) : #NEWLINE# #INDENT# notifications . send_update_with_states ( notif . context , self . instance , vm_states . BUILDING , vm_states . BUILDING , task_states . SPAWNING , None ) #NEWLINE# self . assertEqual ( 1 , len ( fake_notifier . NOTIFICATIONS ) ) #NEWLINE# notif = fake_notifier . NOTIFICATIONS [ 0 ] #NEWLINE# self . assertEqual ( 'compute.testhost' , notif . publisher_id )