Skip to content

Commit

Permalink
black correction
Browse files Browse the repository at this point in the history
  • Loading branch information
xiao-kong-long committed Nov 30, 2023
1 parent 166dcee commit 3c60853
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/tests/test_application.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ def test_application(self):
organization="casbin",
)

sdk = CasdoorSDK(TestEndpoint, TestClientId, TestClientSecret, TestJwtPublicKey, TestOrganization, TestApplication)
sdk = CasdoorSDK(
TestEndpoint, TestClientId, TestClientSecret, TestJwtPublicKey, TestOrganization, TestApplication
)
try:
sdk.add_application(application=application)
except Exception as e:
Expand Down
4 changes: 3 additions & 1 deletion src/tests/test_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ def test_group(self):
# Add a new object
group = Group.new(owner="admin", name=name, created_time=datetime.datetime.now().isoformat(), display_name=name)

sdk = CasdoorSDK(TestEndpoint, TestClientId, TestClientSecret, TestJwtPublicKey, TestOrganization, TestApplication)
sdk = CasdoorSDK(
TestEndpoint, TestClientId, TestClientSecret, TestJwtPublicKey, TestOrganization, TestApplication
)

try:
sdk.add_group(group)
Expand Down
4 changes: 3 additions & 1 deletion src/tests/test_organization.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ def test_organization(self):
is_profile_public=False,
)

sdk = CasdoorSDK(TestEndpoint, TestClientId, TestClientSecret, TestJwtPublicKey, TestOrganization, TestApplication)
sdk = CasdoorSDK(
TestEndpoint, TestClientId, TestClientSecret, TestJwtPublicKey, TestOrganization, TestApplication
)

try:
sdk.add_organization(organization)
Expand Down

0 comments on commit 3c60853

Please sign in to comment.