Switch to unified view

a/Allura/allura/tests/functional/test_root.py b/Allura/allura/tests/functional/test_root.py
...
...
45
        hdrs = [
45
        hdrs = [
46
            'text/plain;text/html;text/*',
46
            'text/plain;text/html;text/*',
47
            'text/html,application/xhtml+xml,application/xml;q=0.9;text/plain;q=0.8,image/png,*/*;q=0.5' ]
47
            'text/html,application/xhtml+xml,application/xml;q=0.9;text/plain;q=0.8,image/png,*/*;q=0.5' ]
48
        for hdr in hdrs:
48
        for hdr in hdrs:
49
            # malformed headers used to return 500, just make sure they don't now
49
            # malformed headers used to return 500, just make sure they don't now
50
            self.app.get('/', headers=dict(Accept=hdr))
50
            self.app.get('/', headers=dict(Accept=hdr), validate_skip=True)
51
51
52
    def test_project_browse(self):
52
    def test_project_browse(self):
53
        com_cat = M.ProjectCategory.query.find(dict(label='Communications')).first()
53
        com_cat = M.ProjectCategory.query.find(dict(label='Communications')).first()
54
        fax_cat = M.ProjectCategory.query.find(dict(label='Fax')).first()
54
        fax_cat = M.ProjectCategory.query.find(dict(label='Fax')).first()
55
        M.Project.query.find(dict(name='adobe-1')).first().category_id = com_cat._id
55
        M.Project.query.find(dict(name='adobe-1')).first().category_id = com_cat._id