#NEWLINE# def test_no_subscribers( self ) : #NEWLINE# #INDENT# node = factories . NodeFactory ( ) #NEWLINE# node_sub = factories . NotificationSubscriptionFactory ( _id = ( node . _id + '_file_updated' ) , owner = node , event_name = 'file_updated' ) #NEWLINE# node_sub . save ( ) #NEWLINE# result = emails . compile_subscriptions ( node , 'file_updated' ) #NEWLINE# assert_equal ( { #NEWLINE# #INDENT# 'email_transactional' : [ ] , #NEWLINE# 'none' : [ ] , #NEWLINE# 'email_digest' : [ ] , #NEWLINE# #UNINDENT# } , result )