#NEWLINE# def test_announcement_no_experimental( self , dispatch ) : #NEWLINE# #INDENT# runner = announcementrunner . get_runner ( ) #NEWLINE# runner . action = mock . Mock ( ref = 'some.thing' ) #NEWLINE# runner . runner_parameters = { #NEWLINE# #INDENT# 'route' : 'general' , #NEWLINE# #UNINDENT# } #NEWLINE# runner . liveaction = mock . Mock ( context = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# expected_msg = 'Experimental flag is missing for action some.thing' #NEWLINE# self . assertRaisesRegexp ( Exception , expected_msg , runner . pre_run )