Skip to content

Commit

Permalink
Add type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
Zawadidone committed Aug 7, 2023
1 parent 4828460 commit 9d77072
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_plugins_apps_webhosting_cpanel.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
from datetime import datetime, timezone

from dissect.target import Target
from dissect.target.filesystem import VirtualFilesystem
from dissect.target.plugins.apps.webhosting.cpanel import CPanelPlugin

from ._utils import absolute_path


def test_cpanel_plugin(target_unix_users, fs_unix):
def test_cpanel_plugin(target_unix_users: Target, fs_unix: VirtualFilesystem):
data_file = absolute_path("data/plugins/apps/webhosting/cpanel/lastlogin")
fs_unix.map_file("/home/user/.lastlogin", data_file)

Expand Down

0 comments on commit 9d77072

Please sign in to comment.