Switch to unified view

a/AlluraTesting/alluratest/controller.py b/AlluraTesting/alluratest/controller.py
1
"""Unit and functional test suite for allura."""
1
"""Unit and functional test suite for allura."""
2
import os
2
import os
3
import urllib
3
4
4
import mock
5
import mock
5
import beaker.session
6
import beaker.session
6
from paste.deploy import loadapp
7
from paste.deploy import loadapp
7
from paste.script.appinstall import SetupCommand
8
from paste.script.appinstall import SetupCommand
...
...
85
            self.app.validate_skip = self.validate_skip
86
            self.app.validate_skip = self.validate_skip
86
    
87
    
87
    def tearDown(self):
88
    def tearDown(self):
88
        """Method called by nose after running each test"""
89
        """Method called by nose after running each test"""
89
        pass
90
        pass
91
92
    def webflash(self, response):
93
        "Extract webflash content from response."
94
        return urllib.unquote(response.cookies_set.get('webflash', ''))