#NEWLINE# def test_plug_id( self ) : #NEWLINE# #INDENT# expect = self . plugin_a [ 'id' ] #NEWLINE# del self . plugin_a [ 'id' ] #NEWLINE# assert ( self . plugin_a . get ( 'id' , None ) is None ) #NEWLINE# assert ( db . plugins . plug_id ( self . plugin_a ) == expect ) #NEWLINE# assert ( self . plugin_a . get ( 'id' , None ) is not None )