move tests around

This commit is contained in:
Tom 2025-02-12 13:43:38 +00:00
parent dc52408e35
commit 37298b7096
9 changed files with 28 additions and 2 deletions

View File

@ -17,7 +17,7 @@ classifiers = [
requires-python = ">= 3.11" requires-python = ">= 3.11"
dynamic = ["version"] dynamic = ["version"]
dependencies = [ dependencies = [
"pe" "frozendict",
] ]
[tool.maturin] [tool.maturin]
@ -27,11 +27,25 @@ features = ["pyo3/extension-module"]
[project.optional-dependencies] [project.optional-dependencies]
rust-backend = ["maturin"] rust-backend = ["maturin", "pyo3"]
stac_server = [
"fastapi",
]
docs = [ docs = [
"sphinx", "sphinx",
"sphinx-rtd-theme", "sphinx-rtd-theme",
"myst_nb", "myst_nb",
"sphinx-autobuild" "sphinx-autobuild"
]
dev = [
"pytest",
"black",
"ruff",
"flake8",
"pre-commit",
"isort",
"responses",
] ]

12
test/test.py Normal file
View File

@ -0,0 +1,12 @@
from qubed import Qube
q = Qube.from_dict({
"class=od" : {
"expver=0001": {"param=1":{}, "param=2":{}},
"expver=0002": {"param=1":{}, "param=2":{}},
},
"class=rd" : {
"expver=0001": {"param=1":{}, "param=2":{}, "param=3":{}},
"expver=0002": {"param=1":{}, "param=2":{}},
},
})