manager/test-packages/qubesadmin/exc.py
Marek Marczykowski-Górecki 7bdcb23fb8
Fix erroneous usage of 'qubes' module
On the client side it should use only 'qubesadmin'. In practice, those
few are trivial to replace:
 - get_disk_usage() is also available in shutil (as disk_usage())
 - BackupCancelledError should be used from qubesadmin.exc anyway (there
   was also a typo)

Remove also test-packages/qubes to let pylint detect such issues in the
future.

QubesOS/qubes-issues#5403
2019-10-24 05:47:26 +02:00

19 lines
337 B
Python

### mock qubesadmin.exc module
# pylint: disable=unused-variable
class QubesException(BaseException):
pass
class QubesVMNotStartedError(BaseException):
pass
class QubesPropertyAccessError(BaseException):
pass
class QubesDaemonNoResponseError(BaseException):
pass
class BackupCancelledError(BaseException):
pass