Commit ab62ceb2 authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

Test using dev version of dependencies

All dependencies (not yet released) should be py3 compatible and using the new layout.

* In tox, pull latest public head of each cubicweb cubes dependencies
* Update imports from "cubes.<cube>" to "cubicweb_<cube>"
parent 53d90166d16d
......@@ -9,10 +9,10 @@ __docformat__ = "restructuredtext en"
from yams.buildobjs import RelationDefinition
from yams.reader import context
from cubes.card.schema import Card
from cubes.blog.schema import BlogEntry
from cubes.file.schema import File
from cubes.link.schema import Link
from cubicweb_card.schema import Card
from cubicweb_blog.schema import BlogEntry
from cubicweb_file.schema import File
from cubicweb_link.schema import Link
PERMISSIONS = {
'read': ('managers', 'users', 'guests',),
......@@ -34,7 +34,7 @@ class interested_in(RelationDefinition):
BASETYPES = ('Card', 'BlogEntry', 'File', 'Event', 'Link', 'Task', 'Book')
if 'VersionedFile' in context.defined:
BASETYPES += ('VersionedFile',)
from cubes.vcsfile.schema import VersionedFile, VersionContent
from cubicweb_vcsfile.schema import VersionedFile, VersionContent
VersionedFile.get_relation('name').fulltextindexed = True
VersionContent.get_relation('data').fulltextindexed = True
......
......@@ -8,7 +8,7 @@ __docformat__ = "restructuredtext en"
from cubicweb.selectors import is_instance
from cubes.tag.views import TagsCloudBox
from cubicweb_tag.views import TagsCloudBox
TagsCloudBox.visible = True
TagsCloudBox.__select__ = TagsCloudBox.__select__ & is_instance('BlogEntry', 'Link', 'Card', 'File')
......@@ -4,7 +4,7 @@ envlist = py27, py3
[testenv]
deps =
pytest
-rdev-requirements.txt
commands =
{envpython} -m pytest {posargs}
......
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