Skip to content

Commit

Permalink
chg: code cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertWeichselbraun committed Feb 17, 2024
1 parent 16ba471 commit 9e31c6c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/test_web_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
from inscriptis.service.web import app
from inscriptis.metadata import __version__

# Replace "your_module" with the actual module name where your FastAPI app is defined.


@pytest.fixture
def client():
Expand Down Expand Up @@ -42,6 +40,4 @@ def test_get_text_call_without_content_type(client):
def test_get_version_call(client):
response = client.get("/version")
assert response.status_code == 200
assert (
response.text == __version__
) # Assuming your ParserConfig has a version attribute
assert response.text == __version__

0 comments on commit 9e31c6c

Please sign in to comment.