Skip to content

Commit

Permalink
test: changes to pass blackboard client test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
MueezKhan246 committed Apr 29, 2024
1 parent f02ab9a commit 3d23e30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test_utils/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())


Expand All @@ -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())
Expand Down

0 comments on commit 3d23e30

Please sign in to comment.