Skip to content

Commit

Permalink
Merge pull request #6 from KOSASIH/deepsource-transform-a9a488f7
Browse files Browse the repository at this point in the history
style: format code with Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf
  • Loading branch information
KOSASIH authored May 11, 2024
2 parents aed5dc3 + 5415015 commit 7e76de5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions web/tests/test_web.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
# web/tests/test_web.py
import pytest

from app import app


@pytest.fixture
def client():
app.config['TESTING'] = True
app.config["TESTING"] = True
with app.test_client() as client:
yield client


def test_index(client):
response = client.get('/')
response = client.get("/")
assert response.status_code == 200

0 comments on commit 7e76de5

Please sign in to comment.