Actually, your code works, the button does appear.
I assume that, you didn't know that in Odoo, for general, buttons that used in the tree/list view don't always show, they only appear when any data is selected. So, if I don't select any data, you can see on the picture below, the "import" button of yours will disappear.
Therefore, if what you want is for the button to always be shown, then you need to make further customization by utilizing the Owl JS component (but it needs more advanced knowledge)
You can see a topic discussed in Odoo forum similar with that here:
How to add a button next to Create in List View in Odoo 16