Skip to content

Commit

Permalink
[FIX] use odoo-test-helper
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienbeau committed Apr 17, 2020
1 parent 7661eaa commit f2b5394
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 78 deletions.
2 changes: 1 addition & 1 deletion connector_algolia/tests/test_se_algolia.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ def setUpClass(cls):

@classmethod
def tearDownClass(cls):
super(TestBindingIndexBase, cls).tearDownClass()
cls._restore_registry()
super(TestBindingIndexBase, cls).tearDownClass()

def _get_vcr_kwargs(self, **kwargs):
return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ def setUpClass(cls):

@classmethod
def tearDownClass(cls):
super(TestBindingIndexBase, cls).tearDownClass()
cls._restore_registry()
super(TestBindingIndexBase, cls).tearDownClass()

def _get_vcr_kwargs(self, **kwargs):
return {
Expand Down
74 changes: 0 additions & 74 deletions connector_search_engine/tests/fake_model_loader.py

This file was deleted.

4 changes: 2 additions & 2 deletions connector_search_engine/tests/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from .common import TestSeBackendCaseBase
from .components import SeAdapterFake
from .fake_model_loader import FakeModelLoader
from odoo_test_helper import FakeModelLoader


class TestBindingIndexBase(TestSeBackendCaseBase, FakeModelLoader):
Expand Down Expand Up @@ -72,8 +72,8 @@ def setUpClass(cls):

@classmethod
def tearDownClass(cls):
super(TestBindingIndexBase, cls).tearDownClass()
cls._restore_registry()
super(TestBindingIndexBase, cls).tearDownClass()


class TestBindingIndex(TestBindingIndexBaseFake):
Expand Down
1 change: 1 addition & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
vcrpy-unittest
unittest2
odoo-test-helper

0 comments on commit f2b5394

Please sign in to comment.