fix: resolve CI/CD test failures and linting issues
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
"""Tests for syntax validation."""
|
||||
|
||||
import pytest
|
||||
|
||||
from config_convert.validators import validate
|
||||
|
||||
|
||||
@@ -12,7 +10,7 @@ class TestValidateJSON:
|
||||
assert error is None
|
||||
|
||||
def test_valid_json_pretty(self):
|
||||
is_valid, error = validate('{\n "name": "test\n"}', "json")
|
||||
is_valid, error = validate('{\n "name": "test"\n}', "json")
|
||||
assert is_valid is True
|
||||
|
||||
def test_invalid_json(self):
|
||||
|
||||
Reference in New Issue
Block a user