Skip to content

Commit 1201a71

Browse files
committed
Switch to HttpCase
1 parent e4cc39f commit 1201a71

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ env:
2424
matrix:
2525
- LINT_CHECK="1"
2626
- TRANSIFEX="1"
27-
- TESTS="1" ODOO_REPO="odoo/odoo" EXCLUDE="oauth_provider"
28-
- TESTS="1" ODOO_REPO="OCA/OCB" EXCLUDE="oauth_provider"
29-
- TESTS="1" ODOO_REPO="odoo/odoo" INCLUDE="oauth_provider"
27+
- TESTS="1" ODOO_REPO="odoo/odoo"
28+
- TESTS="1" ODOO_REPO="OCA/OCB"
3029

3130
virtualenv:
3231
system_site_packages: true

oauth_provider/tests/common_test_controller.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
from werkzeug.wrappers import BaseResponse
1111
from odoo import fields
1212
from odoo.service import wsgi_server
13-
from odoo.tests.common import TransactionCase
13+
from odoo.tests.common import HttpCase
1414
from odoo.tools.misc import consteq
1515

1616
_logger = logging.getLogger(__name__)
1717

1818

19-
class OauthProviderControllerTransactionCase(TransactionCase):
19+
class OauthProviderControllerTransactionCase(HttpCase):
2020
def setUp(self, application_type):
2121
super(OauthProviderControllerTransactionCase, self).setUp()
2222

oauth_provider/tests/test_oauth_provider_token.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
from datetime import datetime, timedelta
66
from odoo import fields, exceptions
7-
from odoo.tests.common import TransactionCase
7+
from odoo.tests.common import HttpCase
88

99

10-
class TestOauthProviderToken(TransactionCase):
10+
class TestOauthProviderToken(HttpCase):
1111

1212
def setUp(self):
1313
super(TestOauthProviderToken, self).setUp()

0 commit comments

Comments
 (0)