fix pytest. Bump version 2.1
This commit is contained in:
parent
5386c82b0e
commit
f368033559
3 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
FROM python:3.9-alpine
|
FROM python:3.9-alpine
|
||||||
|
|
||||||
ARG STACOSYS_VERSION=2.0
|
ARG STACOSYS_VERSION=2.1
|
||||||
ARG STACOSYS_FILENAME=stacosys-${STACOSYS_VERSION}-py3-none-any.whl
|
ARG STACOSYS_FILENAME=stacosys-${STACOSYS_VERSION}-py3-none-any.whl
|
||||||
|
|
||||||
RUN apk update && apk add bash && apk add wget
|
RUN apk update && apk add bash && apk add wget
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "stacosys"
|
name = "stacosys"
|
||||||
version = "2.0"
|
version = "2.1"
|
||||||
description = "STAtic COmmenting SYStem"
|
description = "STAtic COmmenting SYStem"
|
||||||
authors = ["Yax"]
|
authors = ["Yax"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
|
@ -15,7 +15,7 @@ def client():
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
db = database.Database()
|
db = database.Database()
|
||||||
db.setup(":memory:")
|
db.setup(":memory:")
|
||||||
app.config.update(SITE_TOKEN="ETC")
|
app.config.update(SITE_REDIRECT="/redirect")
|
||||||
logger.info(f"start interface {form}")
|
logger.info(f"start interface {form}")
|
||||||
return app.test_client()
|
return app.test_client()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue