This commit is contained in:
zakhy 2025-03-18 13:21:17 +07:00
parent 1b1bc16d24
commit b9bb025012

View File

@ -907,7 +907,7 @@ def test_circuit():
for i in range(equipment_count):
obj, created = Equipment.objects.get_or_create(
uid=f"test_object_{i}", defaults={"time": timezone.now()}
uid=f"test_object_{i}", defaults={"time": timezone.now(), "name":'Тестовый объект'}
)
lat, lon = get_realistic_coords(center_coords, (obj.lat, obj.lon) if not created else None, obj.speed)
obj.lat = lat