Skip to content

Commit a45a497

Browse files
committed
test: format entry point assertion
Signed-off-by: Bryan Bednarski <bbednarski@nvidia.com>
1 parent 00e531e commit a45a497

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/test_entry_points.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ def test_nat_redis_entry_point_loads_registered_components() -> None:
1212

1313
plugins = entry_points(group="nat.plugins")
1414
redis_entry_points = [
15-
plugin
16-
for plugin in plugins
17-
if plugin.name == "nat_redis" and plugin.value == "nat.plugins.redis.register"
15+
plugin for plugin in plugins if plugin.name == "nat_redis" and plugin.value == "nat.plugins.redis.register"
1816
]
1917

2018
assert redis_entry_points, "Expected nat_redis to target nat.plugins.redis.register in the nat.plugins group"

0 commit comments

Comments
 (0)