Update PythonAPI/test/API/collision_test.py

Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>
This commit is contained in:
Blyron 2024-04-19 10:14:34 +02:00 committed by Xavier Solé Nogués
parent ab0d15393d
commit f0eed51f8a
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ import carla
#record the result as json to the same folder
class TestVehiclesSpawnTest(unittest.TestCase):
class TestCollision(unittest.TestCase):
collisions = 0
def _on_collision(event):
collisions += 1