Files
bitbylaw 7856dd1d68 Add tests for Kommunikation Sync implementation and verification scripts
- Implemented comprehensive tests for the Kommunikation Sync functionality, covering base64 encoding, marker parsing, creation, type detection, and integration scenarios.
- Added a verification script to check for unique IDs in Advoware communications, ensuring stability and integrity of the IDs.
- Created utility scripts for code validation, notification testing, and PUT response detail analysis to enhance development and testing processes.
- Updated README with details on new tools and their usage.
2026-02-08 23:05:56 +00:00
..

Tools & Utilities

Allgemeine Utilities für Entwicklung und Testing.

Scripts

validate_code.py

Code-Validierung Tool.

Features:

  • Syntax-Check für Python Files
  • Import-Check
  • Error-Detection

Verwendung:

cd /opt/motia-app/bitbylaw
python scripts/tools/validate_code.py services/kommunikation_sync_utils.py
python scripts/tools/validate_code.py steps/vmh/beteiligte_sync_event_step.py

Output:

✅ File validated successfully: 0 Errors

test_notification.py

Test für EspoCRM Notification System.

Testet:

  • Notification Creation
  • User Assignment
  • Notification Types

test_put_response_detail.py

Analysiert PUT Response Details von Advoware.

Testet:

  • Response Structure
  • rowId Changes
  • Returned Fields

Verwendung

cd /opt/motia-app/bitbylaw
python scripts/tools/validate_code.py <file_path>