Files
lume/libs/computer/tests/test_computer.py
2025-03-16 16:06:32 +01:00

18 lines
476 B
Python

"""Basic tests for the computer package."""
import pytest
from computer import Computer
def test_computer_import():
"""Test that we can import the Computer class."""
assert Computer is not None
def test_computer_init():
"""Test that we can create a Computer instance."""
computer = Computer(
display={"width": 1920, "height": 1080},
memory="16GB",
cpu="4",
use_host_computer_server=True
)
assert computer is not None