Skip to content

Commit 259f136

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 4f31fbc commit 259f136

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sde_collections/tests/test_workflow_status_triggers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ class TestWorkflowStatusTransitions(TestCase):
1818
def setUp(self):
1919
self.collection = CollectionFactory()
2020

21-
@patch('sde_collections.models.collection.GitHubHandler')
22-
@patch('sde_collections.models.collection.Collection.create_scraper_config')
21+
@patch("sde_collections.models.collection.GitHubHandler")
22+
@patch("sde_collections.models.collection.Collection.create_scraper_config")
2323
def test_ready_for_engineering_triggers_config_creation(self, mock_scraper, mock_github_handler):
2424
"""When status changes to READY_FOR_ENGINEERING, it should create configs"""
2525
self.collection.workflow_status = WorkflowStatusChoices.READY_FOR_ENGINEERING
@@ -36,7 +36,7 @@ def test_indexing_finished_triggers_full_text_fetch(self, mock_fetch):
3636
mock_fetch.assert_called_once_with(self.collection.id, "lrm_dev")
3737

3838
@patch("sde_collections.models.collection.Collection.create_indexer_config")
39-
@patch('sde_collections.models.collection.GitHubHandler')
39+
@patch("sde_collections.models.collection.GitHubHandler")
4040
def test_ready_for_curation_triggers_indexer_config(self, mock_github_handler, mock_indexer):
4141
"""When status changes to READY_FOR_CURATION, it should create indexer config"""
4242
self.collection.workflow_status = WorkflowStatusChoices.READY_FOR_CURATION

0 commit comments

Comments
 (0)