style: Linter
This commit is contained in:
parent
17cd3e9b3e
commit
c648e4fc9a
1 changed files with 5 additions and 4 deletions
|
|
@ -122,7 +122,6 @@ class TestDashboardConnections(FrappeTestCase):
|
|||
expected_open_count,
|
||||
)
|
||||
|
||||
|
||||
def test_external_doctype_link_with_dashboard_override(self):
|
||||
# add a custom links
|
||||
todo = TestCustomizeForm().get_customize_form("ToDo")
|
||||
|
|
@ -140,10 +139,12 @@ class TestDashboardConnections(FrappeTestCase):
|
|||
|
||||
# Change standard fieldname, see if all custom links still work
|
||||
with patch_hooks(
|
||||
{"override_doctype_dashboards": {
|
||||
"ToDo": ["frappe.tests.test_dashboard_connections.get_dashboard_for_todo"]
|
||||
{
|
||||
"override_doctype_dashboards": {
|
||||
"ToDo": ["frappe.tests.test_dashboard_connections.get_dashboard_for_todo"]
|
||||
}
|
||||
}
|
||||
}):
|
||||
):
|
||||
connections = get_open_count("ToDo", todo_doc.name)["count"]
|
||||
self.assertEqual(len(connections["external_links_found"]), 2)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue