Files
cleveragents-core/tests/features/application_utilities.feature
T

18 lines
538 B
Gherkin

Feature: Application Utility Methods Coverage
Tests for utility helper methods in application.py
These methods provide supporting functionality used by other application methods.
Background:
Given a clean test environment
Scenario: Sanitize valid JSON string
Given a valid JSON string
When sanitizing the JSON
Then JSON remains unchanged
Scenario: Sanitize invalid JSON with newlines
Given JSON with unescaped newlines
When sanitizing the JSON
Then newlines are escaped
And JSON becomes valid