Commit afd4a8a9 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

don't put .. in sys.path, cause pb when all tests are executed by pytest

parent b83c950879a4
# -*- coding: utf-8 -*-
from logilab.common.testlib import TestCase, unittest_main
import sys, os.path as osp
sys.path.insert(0, osp.join(osp.dirname(__file__), '..'))
from cubicweb import devtools # make cube importable
from emailcites import parse_body
from cubes.email.emailcites import parse_body
class ParseBodyTC(TestCase):
......
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