It's was hard but i have finally a beginning of test for start VPCS

This commit is contained in:
Julien Duponchelle
2015-01-15 13:02:43 +01:00
parent 0afea48e63
commit 6bb2b88f1a
6 changed files with 62 additions and 47 deletions

View File

@ -75,7 +75,7 @@ class BaseVM:
"""
if console in self._allocated_console_ports:
raise VPCSError("Console port {} is already used by another VPCS device".format(console))
raise DeviceError("Console port {} is already used by another VM device".format(console))
self._allocated_console_ports.remove(self._console)
self._console = console
@ -146,8 +146,6 @@ class BaseVM:
"""
raise NotImplementedError
def put(self, *args):
"""
Add to the processing queue of the VM