fix(test): update RQ serialization test
The job name will now be the module + qualname instead of just the method name Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
parent
bd6eaab00e
commit
baa5b1cb5f
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ class TestRQJob(FrappeTestCase):
|
|||
def test_func_obj_serialization(self):
|
||||
job = frappe.enqueue(method=test_func, queue="short")
|
||||
rq_job = frappe.get_doc("RQ Job", job.id)
|
||||
self.assertEqual(rq_job.job_name, "test_func")
|
||||
self.assertEqual(rq_job.job_name, "frappe.core.doctype.rq_job.test_rq_job.test_func")
|
||||
|
||||
@timeout
|
||||
def test_get_list_filtering(self):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue