1
0
mirror of https://github.com/enpaul/kodak.git synced 2025-09-18 21:21:59 +00:00

Rename project to fresnel-lens

This commit is contained in:
2021-10-28 19:03:09 -04:00
parent f9c38a5bcc
commit 888225bdf7
31 changed files with 155 additions and 160 deletions

View File

@@ -3,7 +3,7 @@ from pathlib import Path
import toml
from imagemuck import __about__
from fresnel_lens import __about__
def test_about():

View File

@@ -3,7 +3,7 @@ import importlib.resources
import openapi_spec_validator
import ruamel.yaml
from imagemuck import __about__
from fresnel_lens 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("imagemuck", "openapi.yaml"))
yaml.load(importlib.resources.read_text("fresnel_lens", "openapi.yaml"))
)
def test_openapi_version():
spec = yaml.load(importlib.resources.read_text("imagemuck", "openapi.yaml"))
spec = yaml.load(importlib.resources.read_text("fresnel_lens", "openapi.yaml"))
assert spec["info"]["version"] == __about__.__version__