import pytest
import tkinter as tk
from target_simulator.gui.settings_window import SettingsWindow


def test_settings_window_init():
    root = tk.Tk()
    win = SettingsWindow(root, config_manager=None, current_config={})
    assert win is not None
    root.destroy()
