]> Git Repo - qemu.git/blame - tests/acceptance/version.py
Merge remote-tracking branch 'remotes/cleber/tags/python-next-pull-request' into...
[qemu.git] / tests / acceptance / version.py
CommitLineData
c3d7e8c9
CR
1# Version check example test
2#
3# Copyright (c) 2018 Red Hat, Inc.
4#
5# Author:
6# Cleber Rosa <[email protected]>
7#
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.
10
11
12from avocado_qemu import Test
13
14
15class Version(Test):
16 """
c3d7e8c9
CR
17 :avocado: tags=quick
18 """
19 def test_qmp_human_info_version(self):
20 self.vm.launch()
21 res = self.vm.command('human-monitor-command',
22 command_line='info version')
23 self.assertRegexpMatches(res, r'^(\d+\.\d+\.\d)')
This page took 0.104337 seconds and 4 git commands to generate.