Skip to content

Commit

Permalink
Run ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
amstilp committed Oct 23, 2024
1 parent dc6df37 commit 173831c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions gregor_django/gregor_anvil/tests/test_migrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,9 @@ def prepare(self):
)
WorkspaceGroupSharing = self.old_state.apps.get_model("anvil_consortium_manager", "WorkspaceGroupSharing")
UploadCycle = self.old_state.apps.get_model("gregor_anvil", "UploadCycle")
CombinedConsortiumDataWorkspace = self.old_state.apps.get_model("gregor_anvil", "CombinedConsortiumDataWorkspace")
CombinedConsortiumDataWorkspace = self.old_state.apps.get_model(
"gregor_anvil", "CombinedConsortiumDataWorkspace"
)
# Create an auth domain for the combined workspaces.
auth_domain_group = ManagedGroup.objects.create(
name="auth_domain",
Expand Down Expand Up @@ -517,7 +519,9 @@ def prepare(self):
)

def test_date_completed(self):
CombinedConsortiumDataWorkspace = self.new_state.apps.get_model("gregor_anvil", "CombinedConsortiumDataWorkspace")
CombinedConsortiumDataWorkspace = self.new_state.apps.get_model(
"gregor_anvil", "CombinedConsortiumDataWorkspace"
)
workspace = CombinedConsortiumDataWorkspace.objects.get(pk=self.combined_workspace_shared.pk)
self.assertEqual(workspace.date_completed, self.date_shared)
workspace = CombinedConsortiumDataWorkspace.objects.get(pk=self.combined_workspace_not_shared.pk)
Expand Down

0 comments on commit 173831c

Please sign in to comment.