From 3bcabaf153109c88e7486cae0259c693d42c9cda Mon Sep 17 00:00:00 2001 From: Robert Raposa Date: Thu, 21 Nov 2024 13:14:10 -0500 Subject: [PATCH] fixup! fix failing test --- edx_arch_experiments/datadog_monitoring/tests/test_apps.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/edx_arch_experiments/datadog_monitoring/tests/test_apps.py b/edx_arch_experiments/datadog_monitoring/tests/test_apps.py index a1f5273..cf03b4d 100644 --- a/edx_arch_experiments/datadog_monitoring/tests/test_apps.py +++ b/edx_arch_experiments/datadog_monitoring/tests/test_apps.py @@ -19,4 +19,5 @@ def test_signal_has_receiver(self): to be re-added during a call to ready, presumably because the signal was already imported. """ - assert worker_process_init.receivers[0][1].__name__ == 'init_worker_process' + # the name of the function is in the weakref __repr__ + assert 'init_worker_process' in worker_process_init.receivers[0][1].__repr__()