@patch('polyaxon_sdk.ProjectsV1Api.patch_version')
def test_update_artifact(self, update_artifact):
    self.runner.invoke(artifacts, ['update', '-p', 'admin/foo', '--description=foo'])
    assert (update_artifact.call_count == 1)
@patch('polyaxon_sdk.ProjectsV1Api.patch_version')
def test_update_artifact(self, update_artifact):
    self.runner.invoke(artifacts, ['update', '-p', 'admin/foo', '--description=foo'])
    assert (update_artifact.call_count == 1)