Skip to content

Commit

Permalink
test: Change checksum of context diagram in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ewuerger committed Jan 23, 2025
1 parent 89657aa commit f32cef9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Install test dependencies
run: python -m pip install '.[test]'
- name: Run unit tests
run: python -m pytest --cov-report=term --cov=capella2polarion --rootdir=.
run: python -m pytest --cov-report=term --cov=capella2polarion --rootdir=. -vv

build:
name: Build wheel
Expand Down
1 change: 1 addition & 0 deletions capella2polarion/connectors/polarion_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ def compare_and_update_work_item(
old.checksum = None

new.calculate_checksum()
print(new.checksum)
if not self.force_update and new.checksum == old.checksum:
return

Expand Down
2 changes: 1 addition & 1 deletion tests/test_workitem_attachments.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"0ed1417e8e4717524bc91162dcf8633afca686e93f8b036d0bc48d81f0444f56"
)
CONTEXT_DIAGRAM_CHECKSUM = (
"2b86192f2f65353512e1b4af0e652577d0ca3d0cf8595f5dcfba7d52bcb6d702"
"35efc338fccc53e33d29be408bebe2b10f9b43586b9025cb36b4877183d81ae9"
)

TEST_DIAG_UUID = "_APOQ0QPhEeynfbzU12yy7w"
Expand Down

0 comments on commit f32cef9

Please sign in to comment.