Update PythonAPI/test/API/collision_test.py
Co-authored-by: Xavier Solé Nogués <xavisolesoft@gmail.com>
This commit is contained in:
parent
ab0d15393d
commit
f0eed51f8a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue