Skip to content
Snippets Groups Projects

feat: add minutes and data to contract resources

Merged Borja Gimeno requested to merge feat/add-data-and-minutes-contract-model into master
All threads resolved!
2 files
+ 0
19
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -15,14 +15,6 @@ from odoo_somconnexio_python_client.resources.contract import (
)
@pytest.fixture(scope="module")
def vcr_config():
return {
# Replace the API-KEY request header with "DUMMY" in cassettes
"filter_headers": [("API-KEY", "DUMMY")],
}
class ContractTests(unittest.TestCase):
@pytest.mark.vcr()
def test_search_resource_not_found(self):
@@ -107,7 +99,6 @@ class ContractTests(unittest.TestCase):
assert paging.sortBy == "code"
assert paging.sortOrder == "DESCENDENT"
@pytest.mark.vcr()
def test_search_contract_by_customer_ref_with_pagination_bad_limit(self):
self.assertRaises(
NotNumericLimit,
@@ -116,7 +107,6 @@ class ContractTests(unittest.TestCase):
limit="XXX",
)
@pytest.mark.vcr()
def test_search_contract_by_customer_ref_with_pagination_bad_offset(self):
self.assertRaises(
NotNumericOffset,
@@ -126,7 +116,6 @@ class ContractTests(unittest.TestCase):
offset="XXX",
)
@pytest.mark.vcr()
def test_search_contract_by_customer_ref_with_pagination_bad_sort_order(self):
self.assertRaises(
InvalidSortOrder,
Loading