fix
This commit is contained in:
parent
1b1bc16d24
commit
b9bb025012
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user