From f672e424122a566bc98645689c49ee2839cae50b Mon Sep 17 00:00:00 2001 From: Wolfgang Fahl Date: Sun, 5 Nov 2023 09:10:10 +0100 Subject: [PATCH] refactors tests --- pyproject.toml | 2 +- tests/test_diagrams.py | 2 +- tests/test_webserver.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6ab4cc8..f7b44d8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ license= "Apache-2.0" dependencies = [ "flask", # nicegui widgets - "ngwidgets>=0.2.1", + "ngwidgets>=0.3.0", # pydantic # https://pypi.org/project/pydantic/ "pydantic>=2.4.2", diff --git a/tests/test_diagrams.py b/tests/test_diagrams.py index c974828..2182bdb 100644 --- a/tests/test_diagrams.py +++ b/tests/test_diagrams.py @@ -5,7 +5,7 @@ ''' import os from dgs.diagrams import Command,Generator,Generators,Example -from tests.basetest import Basetest +from ngwidgets.basetest import Basetest class TestDiagrams(Basetest): """ Test the online diagrams service""" diff --git a/tests/test_webserver.py b/tests/test_webserver.py index f59744f..631f93b 100644 --- a/tests/test_webserver.py +++ b/tests/test_webserver.py @@ -3,7 +3,7 @@ @author: wf ''' -from tests.basetest import Basetest +from ngwidgets.basetest import Basetest from fastapi.testclient import TestClient from dgs.ngwebserver import WebServer from ngwidgets.cmd import WebserverCmd