@patch('polyaxon_sdk.ProjectsV1Api.get_version')
def test_get_artifact(self, get_artifact):
    self.runner.invoke(artifacts, ['get', '-p', 'admin/foo'])
    assert (get_artifact.call_count == 1)
@patch('polyaxon_sdk.ProjectsV1Api.get_version')
def test_get_artifact(self, get_artifact):
    self.runner.invoke(artifacts, ['get', '-p', 'admin/foo'])
    assert (get_artifact.call_count == 1)