Skip to content

Commit

Permalink
chore: updates formatting on test_compdef.py
Browse files Browse the repository at this point in the history
Signed-off-by: Jennifer Power <[email protected]>
  • Loading branch information
jpower432 committed Oct 14, 2023
1 parent 3b5200c commit 2c6c5f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/trestlebot/tasks/authored/test_compdef.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ def test_create_new_default(tmp_trestle_dir: str) -> None:
yaml_files = list(comp_dir.glob(f"*{YAML_EXTENSION}"))
assert len(yaml_files) == 12

rule_file = next((file for file in yaml_files if re.search(r'ac-5', file.stem)), None)
rule_file = next(
(file for file in yaml_files if re.search(r"ac-5", file.stem)), None
)
assert rule_file is not None

# Read one of the files and check the content
Expand Down

0 comments on commit 2c6c5f3

Please sign in to comment.