nixpkgs/nixos/lib/test-driver/test_driver
Emily 8221c09ff5
nixos/lib/test-driver: fix linting after compatibility clean‐up
The previous commit removed the handling of `dict` arguments, but
didn’t adjust the type, leading to the following type-checking error:

    test_driver/driver.py:216: error: Argument 1 to "NixStartScript" has incompatible type "str | dict[Any, Any]"; expected "str"  [arg-type]

It also left an unused import that Ruff is unhappy about:

    build/lib/test_driver/driver.py:11:22: F401 [*] `colorama.Fore` imported but unused
    …
    build/lib/test_driver/driver.py:11:28: F401 [*] `colorama.Style` imported but unused

Fixes: 71306e6b36
(cherry picked from commit d490680530)
(cherry picked from commit ff31b814b6)
2024-11-30 15:11:39 +01:00
..
__init__.py nixos/test-driver: rm global logger 2024-05-07 15:17:17 +02:00
driver.py nixos/lib/test-driver: fix linting after compatibility clean‐up 2024-11-30 15:11:39 +01:00
logger.py nixos/test-driver: apply ruff check suggestions 2024-11-22 10:49:30 -05:00
machine.py nixos/test-driver: target python 3.12 2024-11-22 10:49:32 -05:00
polling_condition.py nixos/test-driver: target python 3.12 2024-11-22 10:49:32 -05:00
py.typed
qmp.py nixos/test-driver: fix resource cleanup of vlan/qmp objects 2024-10-16 19:46:38 +03:00
vlan.py nixos/test-driver: fix resource cleanup of vlan/qmp objects 2024-10-16 19:46:38 +03:00