# When I run Blender headless I do not get proper beveling if I unlink the object

When I use this code in Blender I get what I want. When I run from the command line the result is not beveled like I expect

import bpy

def clear():
bpy.ops.object.select_all()
bpy.ops.object.delete()

def deleteAll():
for x in bpy.data.objects:
x.select=True
bpy.ops.object.delete()

clear()
deleteAll()