#NEWLINE# def testGroupAddition( self ) : #NEWLINE# #INDENT# realm = service . InMemoryWordsRealm ( 'realmname' ) #NEWLINE# p = service . Group ( 'testgroup' ) #NEWLINE# d = wFD ( realm . addGroup ( p ) ) #NEWLINE# ( yield d ) #NEWLINE# d . getResult ( ) #NEWLINE# d = wFD ( realm . getGroup ( 'testGroup' ) ) #NEWLINE# ( yield d ) #NEWLINE# group = d . getResult ( ) #NEWLINE# self . assertIdentical ( self , group )