File: test_core.py

package info (click to toggle)
asdf-standard 1.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,028 kB
  • sloc: python: 1,212; makefile: 16
file content (12 lines) | stat: -rw-r--r-- 425 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
import pytest
from common import SCHEMAS_PATH, list_latest_schema_paths, list_schema_paths


@pytest.mark.parametrize("path", list_schema_paths(SCHEMAS_PATH / "core"))
def test_core(path, assert_schema_correct):
    assert_schema_correct(path)


@pytest.mark.parametrize("path", list_latest_schema_paths(SCHEMAS_PATH / "core"))
def test_core_latest(path, assert_latest_schema_correct):
    assert_latest_schema_correct(path)