#NEWLINE# def test_default( self ) : #NEWLINE# #INDENT# ' Show only one plugin' #NEWLINE# resp = self . client . get ( '/default' ) #NEWLINE# self . assert200 ( resp ) #NEWLINE# logging . debug ( resp . json ) #NEWLINE# assert ( '@id' in self . json ) #NEWLINE# assert ( resp . json [ '@id' ] == 'Dummy_0.1' ) #NEWLINE# resp = self . client . get ( '/plugins/Dummy/deactivate' ) #NEWLINE# self . assert200 ( resp ) #NEWLINE# sleep ( 0.5 ) #NEWLINE# resp = self . client . get ( '/default' ) #NEWLINE# self . assert404 ( resp )