fix: skip test_eps_heatmap_query for now
Need to implement `UnixTimestamp` and `Interval` for sqlite in pypika Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
parent
aed2c65cd2
commit
8aed84c0d0
1 changed files with 6 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
|||
# Copyright (c) 2019, Frappe Technologies and Contributors
|
||||
# License: MIT. See LICENSE
|
||||
from unittest.case import skipIf
|
||||
|
||||
import frappe
|
||||
from frappe.cache_manager import clear_doctype_map
|
||||
from frappe.desk.form.assign_to import add as assign_to
|
||||
|
|
@ -240,6 +242,10 @@ class TestEnergyPointLog(IntegrationTestCase):
|
|||
|
||||
self.assertEqual(test2_user_after_points, test2_user_before_points + rule.points)
|
||||
|
||||
@skipIf(
|
||||
frappe.conf.db_type == "sqlite",
|
||||
"Not for SQLite for now",
|
||||
)
|
||||
def test_eps_heatmap_query(self):
|
||||
# Just asserts that query works, not correctness.
|
||||
self.assertIsInstance(get_energy_points_heatmap_data(user="test@example.com", date=None), dict)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue