11 lines
299 B
Python
11 lines
299 B
Python
import pytest
|
|
import tkinter as tk
|
|
from target_simulator.gui.trajectory_editor_window import TrajectoryEditorWindow
|
|
|
|
|
|
def test_trajectory_editor_window_init():
|
|
root = tk.Tk()
|
|
win = TrajectoryEditorWindow(root, existing_ids=[], max_range_nm=100)
|
|
assert win is not None
|
|
root.destroy()
|