Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 5, 2022
1 parent 7bd6b07 commit b41e672
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,16 @@ def test_properties_multiple_plugins(sample_manifest):
# Ensure its properties is merged
assert pm.properties("check_str") == {"foo", "bar"}


def test_properties_not_added(sample_manifest):
"""Ensures unpopulation for unused property"""
pm = PluginManager()

# Add a plugin
# Add a plugin
pm.register(sample_manifest)
assert pm.properties("not_added") == set()

# Add a third plugin
manifest2 = PluginManifest(name="my-third-plugin")
pm.register(manifest2)
assert pm.properties("not_added") == set()


0 comments on commit b41e672

Please sign in to comment.