#NEWLINE# def test_creator_diff_subs_to_both_from_child( self ) : #NEWLINE# #INDENT# self . base_sub . email_transactional . append ( self . user_1 ) #NEWLINE# self . base_sub . save ( ) #NEWLINE# self . shared_sub . none . append ( self . user_1 ) #NEWLINE# self . shared_sub . save ( ) #NEWLINE# result = emails . compile_subscriptions ( result . shared_node , 'file_updated' ) #NEWLINE# assert_equal ( { #NEWLINE# #INDENT# 'email_transactional' : [ ] , #NEWLINE# 'none' : [ self . user_1 . _id ] , #NEWLINE# 'email_digest' : [ ] , #NEWLINE# #UNINDENT# } , result )