Skip to content

Commit 0c8bdc2

Browse files
committed
chore: run black fmt on /tests
Run formatter on python. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
1 parent bb2d000 commit 0c8bdc2

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

tests/framework/ab_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def git_ab_test_host_command(
160160

161161

162162
def set_did_not_grow_comparator(
163-
set_generator: Callable[[CommandReturn], set]
163+
set_generator: Callable[[CommandReturn], set],
164164
) -> Callable[[CommandReturn, CommandReturn], bool]:
165165
"""Factory function for comparators to use with git_ab_test_command that converts the command output to sets
166166
(using the given callable) and then checks that the "B" set is a subset of the "A" set

tests/host_tools/fcmetrics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44

55
"""Provides:
6-
- Mechanism to collect and export Firecracker metrics every 60seconds to CloudWatch
7-
- Utility functions to validate Firecracker metrics format and to validate Firecracker device metrics.
6+
- Mechanism to collect and export Firecracker metrics every 60seconds to CloudWatch
7+
- Utility functions to validate Firecracker metrics format and to validate Firecracker device metrics.
88
"""
99

1010
import datetime

tests/integration_tests/build/test_seccomp_no_redundant_rules.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
# SPDX-License-Identifier: Apache-2.0
33
"""A test that fails if it can definitely prove a seccomp rule redundant
4-
(although it passing does not guarantee the converse, that all rules are definitely needed)."""
4+
(although it passing does not guarantee the converse, that all rules are definitely needed).
5+
"""
56
import platform
67
from pathlib import Path
78

0 commit comments

Comments
 (0)