Remove volumes from drone and fix test

This commit is contained in:
C?dric Krier 2018-01-11 11:00:19 +01:00
parent 28e0246352
commit 4be834c5f2
3 changed files with 5 additions and 7 deletions

View file

@ -13,8 +13,6 @@ pipeline:
commands:
- pip install tox
- tox -e "${TOXENV}-${DATABASE}"
volumes:
- cache:/root/.cache
services:
postgresql:

View file

@ -50,7 +50,7 @@ for dep in info.get('depends', []):
requires.append(get_require_version('%s_%s' % (prefix, dep)))
requires.append(get_require_version('trytond'))
tests_require = [get_require_version('proteus')]
tests_require = []
dependency_links = []
if minor_version % 2:
# Add development index for testing with proteus
@ -117,7 +117,4 @@ setup(name='%s_%s' % (PREFIX, MODULE),
test_loader='trytond.test_loader:Loader',
tests_require=tests_require,
use_2to3=True,
convert_2to3_doctests=[
'tests/scenario_account_reconcile_different_party.rst',
],
)

View file

@ -1,6 +1,9 @@
# This file is part of account_reconcile_different_party module for Tryton.
# The COPYRIGHT file at the top level of this repository contains
# the full copyright notices and license terms.
from .test_account_reconcile_different_party import suite
try:
from trytond.modules.account_reconcile_different_party.tests.test_account_reconcile_different_party import suite
except ImportError:
from .test_account_reconcile_different_party import suite
__all__ = ['suite']