Skip to content

Commit

Permalink
Update test_rustdesk.py to use the PEP 8 code Style.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter-The-Great authored Feb 4, 2025
1 parent 91f3564 commit 3bbbce0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/plugins/apps/remoteaccess/test_rustdesk.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from dissect.target.target import Target
from tests._utils import absolute_path


def test_rustdesk_plugin_log(target_win_users: Target, fs_win: VirtualFilesystem) -> None:
fs_win.map_file(
"sysvol/Windows/ServiceProfiles/LocalService/AppData/Roaming/RustDesk/log/server/TestRustdesk.log",
Expand All @@ -23,6 +24,7 @@ def test_rustdesk_plugin_log(target_win_users: Target, fs_win: VirtualFilesystem
assert records[0].user_id is None
assert records[0].user_home is None


def test_rustdesk_plugin_user_log(target_win_users: Target, fs_win: VirtualFilesystem) -> None:
fs_win.map_file(
"Users/John/AppData/Roaming/Rustdesk/log/TestRustdesk.log",
Expand All @@ -38,4 +40,4 @@ def test_rustdesk_plugin_user_log(target_win_users: Target, fs_win: VirtualFiles
assert records[0].source == "sysvol/Windows/ServiceProfiles/LocalService/AppData/Roaming/RustDesk/log/server/TestRustdesk.log"
assert records[0].username is None
assert records[0].user_id is None
assert records[0].user_home is None
assert records[0].user_home is None

0 comments on commit 3bbbce0

Please sign in to comment.