def upload_addon(self, status=amo.STATUS_PUBLIC, listed=True):
        self.addon.update(status=status, is_listed=listed)
        return self.upload('devhub.upload_for_addon', addon_id=self.addon.slug)
Update the test add-on with the given flags and send an upload
dataset/ETHPy150Open mozilla/addons-server/src/olympia/devhub/tests/test_views_validation.py/TestUploadURLs.upload_addon