Skip to content
Snippets Groups Projects
Commit e0db60ed0b57 authored by Nsukami Patrick <ndkpatt at gmail dot com>'s avatar Nsukami Patrick
Browse files

Test: drop use of 'tag' decorator

parent c39883837801
No related branches found
No related tags found
No related merge requests found
import unittest
from logilab.common.testlib import tag
from cubicweb.devtools.testlib import CubicWebTC
from cubicweb.devtools.htmlparser import XMLValidator
......@@ -7,8 +6,7 @@
class BoostrapTheMainTemplateTC(CubicWebTC):
@tag('index')
def test_valid_xhtml_index(self):
with self.admin_access.web_request() as req:
self.view('index', req=req)
......@@ -11,8 +9,7 @@
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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment