(self, gameobject: GameObjectAPI)
| 15 | assert isinstance(actual["objects"], list) |
| 16 | |
| 17 | def test_find_existing_object(self, gameobject: GameObjectAPI) -> None: |
| 18 | actual = gameobject.find(name="Main Camera") |
| 19 | |
| 20 | names = [go["name"] for go in actual["objects"]] |
| 21 | assert "Main Camera" in names |
| 22 | |
| 23 | def test_find_nonexistent_returns_empty(self, gameobject: GameObjectAPI) -> None: |
| 24 | actual = gameobject.find(name="NonExistentObject_12345") |