mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
13 lines
311 B
Python
13 lines
311 B
Python
import os
|
|
|
|
import pytest
|
|
|
|
from sentry.constants import DATA_ROOT
|
|
from sentry.utils import json
|
|
|
|
|
|
@pytest.mark.parametrize("filename", os.listdir(os.path.join(DATA_ROOT, "samples")))
|
|
def test_is_valid_json(filename):
|
|
with open(os.path.join(DATA_ROOT, "samples", filename)) as f:
|
|
json.loads(f.read())
|