Commit 6758ef39 authored by Nsukami Patrick's avatar Nsukami Patrick
Browse files

Test: drop use of 'tag' decorator

parent c39883837801
import unittest
from logilab.common.testlib import tag
from cubicweb.devtools.testlib import CubicWebTC
from cubicweb.devtools.htmlparser import XMLValidator
......@@ -7,12 +6,10 @@ from cubicweb.devtools.htmlparser import XMLValidator
class BoostrapTheMainTemplateTC(CubicWebTC):
@tag('index')
def test_valid_xhtml_index(self):
with self.admin_access.web_request() as req:
self.view('index', req=req)
@tag('error')
def test_valid_xhtml_error(self):
valid = self.content_type_validators.get('text/html', XMLValidator)()
with self.admin_access.web_request() as req:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment