Browse Source

fix usage YaMuteCheck() for different files (#9803)

Kirill Rysin 5 months ago
parent
commit
623cc67d26
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .github/scripts/tests/get_muted_tests.py

+ 2 - 0
.github/scripts/tests/get_muted_tests.py

@@ -216,6 +216,7 @@ def mute_applier(args):
 
         # checking added lines
         write_to_file('\n'.join(added_lines), added_mute_lines_file)
+        mute_check = YaMuteCheck()
         mute_check.load(added_mute_lines_file)
         added_muted_tests = []
         print("New muted tests captured")
@@ -227,6 +228,7 @@ def mute_applier(args):
 
         # checking removed lines
         write_to_file('\n'.join(removed_lines), removed_mute_lines_file)
+        mute_check = YaMuteCheck()
         mute_check.load(removed_mute_lines_file)
         removed_muted_tests = []
         print("Unmuted tests captured")