Skip to content

Conversation

@MariusWirtz
Copy link
Collaborator

  • adapt function to changing JSON response on edges
  • adapt test to changing error message in compile process response
  • fix tests for search_string_in_code function

@MariusWirtz MariusWirtz requested a review from Copilot October 18, 2025 19:03
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Fix failing tests and adapt code to TM1 v12 changes, particularly in JSON response structure and compile error messages.

  • Update ElementService to handle v12 edge JSON shape.
  • Adjust tests to match updated compile error message token.
  • Update process procedure test strings for clarity.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
Tests/ProcessService_test.py Aligns expected error message token and updates procedure strings used in tests.
TM1py/Services/ElementService.py Adds version-aware parsing of consolidation edges for TM1 v12 JSON structure.

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

- adapt function to changing JSON response on edges
- adapt test to changing error message in compile process response
- fix tests for search_string_in_code function
@MariusWirtz MariusWirtz merged commit 85e6e8a into master Oct 18, 2025
@github-actions
Copy link
Contributor

Tests completed for environment: tm1-11-cloud. Check artifacts for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants