summaryrefslogtreecommitdiff
path: root/odoo/addons/base/tests/test_misc.py
diff options
context:
space:
mode:
authorFrancois Volral <fvo@odoo.com>2018-08-10 18:11:37 +0200
committerFrancois Volral <fvo@odoo.com>2018-08-10 18:15:27 +0200
commit6caf5ed7d2f706db0cfca0541f199df468aadae6 (patch)
tree600b241b95087786d251ba74ce81daab00793a65 /odoo/addons/base/tests/test_misc.py
parent4b3766e8eb05fe4a9f1f083da6f4facf56b4f688 (diff)
[FIX] orm: Adapt test and read_group_fill_temporal
In the commit 4a40db2. the implementation of read_group_fill_temporal was simplified during final review and tests needed to be adapted. Also fix the implementation issues as detected by the tests.
Diffstat (limited to 'odoo/addons/base/tests/test_misc.py')
-rw-r--r--odoo/addons/base/tests/test_misc.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/odoo/addons/base/tests/test_misc.py b/odoo/addons/base/tests/test_misc.py
index 881474f7d08..08c790387e9 100644
--- a/odoo/addons/base/tests/test_misc.py
+++ b/odoo/addons/base/tests/test_misc.py
@@ -162,14 +162,6 @@ class TestDateRangeFunction(unittest.TestCase):
self.assertEqual(dates, expected)
- def test_date_range_with_identical_boundaries(self):
- """ date_range with indentical boundaries. """
- start = datetime.datetime(1985, 1, 1)
- end = datetime.datetime(1985, 1, 1)
-
- with self.assertRaises(ValueError):
- dates = [date for date in date_utils.date_range(start, end)]
-
class TestFormatLangDate(TransactionCase):
def test_00_accepted_types(self):