mirror of
https://github.com/enpaul/kodak.git
synced 2025-09-18 21:21:59 +00:00
Rename project to kodak
This commit is contained in:
@@ -3,7 +3,7 @@ from pathlib import Path
|
||||
|
||||
import toml
|
||||
|
||||
from fresnel_lens import __about__
|
||||
from kodak import __about__
|
||||
|
||||
|
||||
def test_about():
|
||||
|
@@ -3,7 +3,7 @@ import importlib.resources
|
||||
import openapi_spec_validator
|
||||
import ruamel.yaml
|
||||
|
||||
from fresnel_lens import __about__
|
||||
from kodak import __about__
|
||||
|
||||
|
||||
yaml = ruamel.yaml.YAML(typ="safe") # pylint: disable=invalid-name
|
||||
@@ -11,10 +11,10 @@ yaml = ruamel.yaml.YAML(typ="safe") # pylint: disable=invalid-name
|
||||
|
||||
def test_openapi():
|
||||
openapi_spec_validator.validate_spec(
|
||||
yaml.load(importlib.resources.read_text("fresnel_lens", "openapi.yaml"))
|
||||
yaml.load(importlib.resources.read_text("kodak", "openapi.yaml"))
|
||||
)
|
||||
|
||||
|
||||
def test_openapi_version():
|
||||
spec = yaml.load(importlib.resources.read_text("fresnel_lens", "openapi.yaml"))
|
||||
spec = yaml.load(importlib.resources.read_text("kodak", "openapi.yaml"))
|
||||
assert spec["info"]["version"] == __about__.__version__
|
||||
|
Reference in New Issue
Block a user