Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
treff7es committed Jul 25, 2024
1 parent 80d6a93 commit bb72392
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions metadata-ingestion/tests/unit/s3/test_s3_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@ def container_properties_filter(x: MetadataWorkUnit) -> bool:
assert isinstance(x.metadata, MetadataChangeProposalWrapper)
return x.metadata.aspectName == "containerProperties"

container_properties:List = list(
filter(container_properties_filter, mcps)
)
container_properties: List = list(filter(container_properties_filter, mcps))
assert len(container_properties) == 1
assert container_properties[0].metadata.aspect.customProperties == {
"bucket_name": "my-bucket",
Expand All @@ -130,9 +128,7 @@ def container_properties_filter(x: MetadataWorkUnit) -> bool:
assert isinstance(x.metadata, MetadataChangeProposalWrapper)
return x.metadata.aspectName == "containerProperties"

container_properties:List = list(
filter(container_properties_filter, mcps)
)
container_properties: List = list(filter(container_properties_filter, mcps))
assert len(container_properties) == 2
assert container_properties[0].metadata.aspect.customProperties == {
"bucket_name": "my-bucket",
Expand All @@ -156,10 +152,8 @@ def container_properties_filter(x: MetadataWorkUnit) -> bool:
assert isinstance(x.metadata, MetadataChangeProposalWrapper)
return x.metadata.aspectName == "containerProperties"

container_properties:List = list(
filter(container_properties_filter, mcps)
)

container_properties: List = list(filter(container_properties_filter, mcps))

assert len(container_properties) == 3
assert container_properties[0].metadata.aspect.customProperties == {
"bucket_name": "my-bucket",
Expand Down

0 comments on commit bb72392

Please sign in to comment.