Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
l8556 committed Sep 19, 2024
1 parent ee02bb6 commit b08bf3a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion frameworks/VboxMachine/VboxMachine.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
from VBoxWrapper import VirtualMachine

from frameworks import vm_is_turn_on
from frameworks.decorators import vm_is_turn_on
from .vm_data import VmData
from .configs import VmConfig

Expand Down
8 changes: 2 additions & 6 deletions frameworks/__init__.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
# -*- coding: utf-8 -*-
from .VboxMachine import VboxMachine, VmConfig
from console import MyConsole
from .decorators import vm_data_created, vm_is_turn_on, retry
from .console import MyConsole
from .report import Report

__all__ = [
VboxMachine,
MyConsole,
Report,
VmConfig,
'vm_data_created',
'vm_is_turn_on',
'retry'
VmConfig
]
3 changes: 2 additions & 1 deletion tests/desktop_tests/tools/test_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
from host_tools import File, Dir
from ssh_wrapper import Ssh, Sftp, ServerData

from frameworks import VboxMachine, MyConsole, retry, vm_data_created
from frameworks.decorators import retry, vm_data_created
from frameworks import VboxMachine, MyConsole
from .desktop_report import DesktopReport
from .paths import Paths
from .ssh_connection import SSHConnection
Expand Down

0 comments on commit b08bf3a

Please sign in to comment.