From 3d23e30ecb14722dda618a71042b8d30dcf2cd37 Mon Sep 17 00:00:00 2001 From: MueezKhan246 Date: Mon, 29 Apr 2024 19:57:30 +0500 Subject: [PATCH] test: changes to pass blackboard client test cases --- test_utils/factories.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test_utils/factories.py b/test_utils/factories.py index e0a2c5e2ec..d91fbeb301 100644 --- a/test_utils/factories.py +++ b/test_utils/factories.py @@ -869,6 +869,7 @@ class Meta: model = BlackboardGlobalConfiguration app_key = factory.LazyAttribute(lambda x: FAKER.random_int(min=1)) + app_secret = factory.LazyAttribute(lambda x: FAKER.uuid4()) decrypted_app_secret = factory.LazyAttribute(lambda x: FAKER.uuid4()) @@ -889,6 +890,8 @@ class Meta: enterprise_customer = factory.SubFactory(EnterpriseCustomerFactory) active = True blackboard_base_url = factory.LazyAttribute(lambda x: FAKER.url()) + client_id = factory.LazyAttribute(lambda x: FAKER.random_int(min=1)) + client_secret = factory.LazyAttribute(lambda x: FAKER.uuid4()) decrypted_client_id = factory.LazyAttribute(lambda x: FAKER.random_int(min=1)) decrypted_client_secret = factory.LazyAttribute(lambda x: FAKER.uuid4()) refresh_token = factory.LazyAttribute(lambda x: FAKER.uuid4())