Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
email
Commits
7da2db17d61e
Commit
afd4a8a9
authored
Jul 27, 2010
by
Sylvain Thénault
Browse files
don't put .. in sys.path, cause pb when all tests are executed by pytest
parent
b83c950879a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/unittest_emailcites.py
View file @
7da2db17
# -*- 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
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment