[Bug] resolves bug in Rule version methods (#2021)
* [Bug] resolves bug in Rule version methods
* comment out unused code with notes
(cherry picked from commit 744f56d98e)
This commit is contained in:
committed by
github-actions[bot]
parent
57194b8e59
commit
8564185a7d
@@ -18,7 +18,7 @@ class TestVersionLock(unittest.TestCase):
|
||||
def test_previous_entries_gte_current_min_stack(self):
|
||||
"""Test that all previous entries for all locks in the version lock are >= the current min_stack."""
|
||||
errors = {}
|
||||
min_version = get_min_supported_stack_version()
|
||||
min_version = get_min_supported_stack_version(drop_patch=True)
|
||||
for rule_id, lock in default_version_lock.version_lock.to_dict().items():
|
||||
if 'previous' in lock:
|
||||
prev_vers = [Version(v) for v in list(lock['previous'])]
|
||||
|
||||
Reference in New Issue
Block a user