# Test the lang plugin

plugins
output console,textFile
output config textFile
set fileName output-w3af.txt
set verbose True
back
output config console
set verbose False
back
grep lang

discovery webSpider
discovery config webSpider
set onlyForward true
back
back

target
set target http://moth/w3af/grep/lang/en.html
back

start

assert kb.kb.getData( 'lang', 'lang' ) == 'en'

exit