Skip to content

Commit

Permalink
Based on test case design, ignore ruff policy
Browse files Browse the repository at this point in the history
CPU: ignore ruff policy for the funtiona of sub_migrate

Signed-off-by: Boqiao Fu <[email protected]>
  • Loading branch information
fbq815 committed Nov 15, 2024
1 parent 21d9934 commit 4d9dafb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qemu/tests/cpu_device_hotpluggable.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ def sub_shutdown():
test.fail("Guest refuses to go down after vcpu %s" % hotpluggable_test)

def sub_migrate():
sub_migrate_reboot = sub_reboot # noqa: F841
sub_migrate_hotunplug = sub_hotunplug # noqa: F841

error_context.context(
"Migrate guest after vcpu %s" % hotpluggable_test, test.log.info
)
Expand Down

0 comments on commit 4d9dafb

Please sign in to comment.