Revision 1f0030e6 snf-webproject/synnefo/webproject/manage.py

b/snf-webproject/synnefo/webproject/manage.py
252 252

  
253 253
        # Encode stdout. This check is required because of the way python
254 254
        # checks if something is tty: https://bugzilla.redhat.com/show_bug.cgi?id=841152
255
        if not 'shell' in subcommand:
255
        if not subcommand in ['test'] and not 'shell' in subcommand:
256 256
            sys.stdout = EncodedStdOut(sys.stdout)
257 257

  
258 258
        if subcommand == 'help':

Also available in: Unified diff