From d91b85dfa0c2d1cfbdad6c756b7456553320b150 Mon Sep 17 00:00:00 2001 From: Antonio de la Rosa Date: Sat, 1 Jun 2024 00:37:27 +0200 Subject: [PATCH] Fixes in tests --- pyproject.toml | 14 ++++++++++++-- {paramecio2/tests => tests}/conftest.py | 0 {paramecio2/tests => tests}/fields_test.py | 0 {paramecio2/tests => tests}/webmodel_test.py | 0 4 files changed, 12 insertions(+), 2 deletions(-) rename {paramecio2/tests => tests}/conftest.py (100%) rename {paramecio2/tests => tests}/fields_test.py (100%) rename {paramecio2/tests => tests}/webmodel_test.py (100%) diff --git a/pyproject.toml b/pyproject.toml index a155b1f..ed7ee66 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,14 @@ +[build-system] +requires = ["flit_core >=3.2,<4"] +build-backend = "flit_core.buildapi" + +[project] name = "paramecio2" version = "2.0.36" description = "Simple Web Framework based in flask and Mako." readme = "README.md" license = {file = "LICENSE.txt"} -maintainers = [{name = "Antonio de la Rosa", email = "antonio.delarosa@salirdelhoyo.com"}] +authors = [{name = "Antonio de la Rosa", email = "antonio.delarosa@salirdelhoyo.com"}] classifiers=['Development Status :: 4 - Beta', "Intended Audience :: Developers", "License :: OSI Approved :: GNU Affero General Public License v3", @@ -24,7 +29,7 @@ install_requires=[ "flask", "pymysql", "sqlalchemy", - "coloram"', + "coloram", "python-slugify", "mako", "pillow", @@ -40,3 +45,8 @@ Source = "https://git.cuchulu.com/paramecio/paramecio2fm/" paramecio2 = "paramecio2.console:start" paramecio2db = "parmecio2.libraries.db.dbadmin:start" +[tool.pytest.ini_options] +testpaths = ["tests"] +filterwarnings = [ + "error", +] diff --git a/paramecio2/tests/conftest.py b/tests/conftest.py similarity index 100% rename from paramecio2/tests/conftest.py rename to tests/conftest.py diff --git a/paramecio2/tests/fields_test.py b/tests/fields_test.py similarity index 100% rename from paramecio2/tests/fields_test.py rename to tests/fields_test.py diff --git a/paramecio2/tests/webmodel_test.py b/tests/webmodel_test.py similarity index 100% rename from paramecio2/tests/webmodel_test.py rename to tests/webmodel_test.py