mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Suppress spurious lint failure
This is failing because elsewhere in the test module the get_top() member function returns None, but this is done in a highstate attribute which is cleaned up in the tearDown and established as a fresh salt.state.HighState instance in the setUp.
This commit is contained in:
parent
3b449f11fc
commit
d0243e8f23
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ class HighStateTestCase(TestCase, AdaptedConfigurationTestCaseMixin):
|
|||
# Manually compile the high data. We don't have to worry about all of
|
||||
# the normal error checking we do here since we know that all the SLS
|
||||
# files exist and there is no whitelist/blacklist being used.
|
||||
top = self.highstate.get_top()
|
||||
top = self.highstate.get_top() # pylint: disable=assignment-from-none
|
||||
matches = self.highstate.top_matches(top)
|
||||
high, _ = self.highstate.render_highstate(matches)
|
||||
ret = salt.state.find_sls_ids('issue-47182.stateA.newer', high)
|
||||
|
|
Loading…
Add table
Reference in a new issue