Skip to content

Commit

Permalink
Fix pylint messages after rebase on main
Browse files Browse the repository at this point in the history
  • Loading branch information
ilia1243 committed Apr 12, 2024
1 parent ca63165 commit f58515a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/unit/core/test_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ def test_connection_enrichment(self):
def test_legacy_role(self):
inventory = demo.generate_inventory(**demo.ALLINONE)
del inventory['nodes'][0]['name']
# pylint: disable-next=implicit-str-concat
inventory['nodes'][0]['roles'] = ['balancer', 'm''a''s''t''e''r', 'worker']

cluster = demo.new_resources(inventory).cluster(EnrichmentStage.LIGHT)
Expand Down
1 change: 1 addition & 0 deletions test/unit/core/test_run_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,7 @@ def cluster_failed_action(resources_: res.DynamicResources):
class ClusterEnrichOptimization(unittest.TestCase):
@contextmanager
def _expected_calls(self, expected_calls: int):
# pylint: disable-next=protected-access
with test_utils.mock_call(defaults._compile_inventory, side_effect=defaults._compile_inventory) as run:
try:
yield
Expand Down

0 comments on commit f58515a

Please sign in to comment.