From 481258dcd52ba61354d62895b9d688241ca367b2 Mon Sep 17 00:00:00 2001 From: Bryan Wilson Date: Wed, 28 Jun 2023 12:00:35 -0700 Subject: [PATCH] Forgot to commit new patches module --- .../djangoapps/appsembler/tahoe_idp/tests/patches.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 openedx/core/djangoapps/appsembler/tahoe_idp/tests/patches.py diff --git a/openedx/core/djangoapps/appsembler/tahoe_idp/tests/patches.py b/openedx/core/djangoapps/appsembler/tahoe_idp/tests/patches.py new file mode 100644 index 000000000000..0fd4d15f2b20 --- /dev/null +++ b/openedx/core/djangoapps/appsembler/tahoe_idp/tests/patches.py @@ -0,0 +1,10 @@ +""" +patching helpers +""" + +from mock import Mock + + +# Keep Signal receivers in tahoe_idp from executing fully when not explicitly testing +dummy_receivers_idp_not_enabled = Mock() +dummy_receivers_idp_not_enabled.return_value = False