block: Don't call no_coroutine_fns in qmp_block_resize()
[qemu/kevin.git] / tests / avocado / version.py
blobdd775955eb8d0ea90c14e6bbbf1f4362dd536789
1 # Version check example test
3 # Copyright (c) 2018 Red Hat, Inc.
5 # Author:
6 # Cleber Rosa <crosa@redhat.com>
8 # This work is licensed under the terms of the GNU GPL, version 2 or
9 # later. See the COPYING file in the top-level directory.
12 from avocado_qemu import QemuSystemTest
15 class Version(QemuSystemTest):
16 """
17 :avocado: tags=quick
18 :avocado: tags=machine:none
19 """
20 def test_qmp_human_info_version(self):
21 self.vm.add_args('-nodefaults')
22 self.vm.launch()
23 res = self.vm.command('human-monitor-command',
24 command_line='info version')
25 self.assertRegexpMatches(res, r'^(\d+\.\d+\.\d)')