@@ -18,7 +18,10 @@ def setUp(self, mock_github_publisher, mock_fsspec_open):
1818 mock_github_publisher .return_value = self .mock_github_publisher_instance
1919
2020 # Mock dataset and workflow config files
21- self .dataset_config = {"collection_id" : "test-collection" , "dataset_id" : "test-dataset" }
21+ self .dataset_config = {
22+ "collection_id" : "test-collection" ,
23+ "dataset_id" : "test-dataset" ,
24+ }
2225 self .workflow_config = {
2326 "properties" : {"title" : "Test Workflow" },
2427 "workflow_id" : "test-workflow" ,
@@ -82,16 +85,20 @@ def test_update_base_catalog(self):
8285
8386 # Mock the Catalog.from_file method
8487 with patch ("pystac.Catalog.from_file" , return_value = catalog ):
85- updated_catalog = self .publisher ._update_base_catalog (catalog_path ,
86- item_id , self_href )
88+ updated_catalog = self .publisher ._update_base_catalog (
89+ catalog_path , item_id , self_href
90+ )
8791
8892 # Assertions
8993 self .assertEqual (updated_catalog .get_self_href (), self_href )
9094 self .assertIsInstance (updated_catalog , Catalog )
9195
9296 def test_read_config_files (self ):
9397 # Mock dataset and workflow config files
94- dataset_config = {"collection_id" : "test-collection" , "dataset_id" : "test-dataset" }
98+ dataset_config = {
99+ "collection_id" : "test-collection" ,
100+ "dataset_id" : "test-dataset" ,
101+ }
95102 workflow_config = {
96103 "properties" : {"title" : "Test Workflow" },
97104 "workflow_id" : "test-workflow" ,
0 commit comments