Skip to content

Commit

Permalink
✅ loguru pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
mraniki committed Jul 24, 2023
1 parent 0addc93 commit 20a2ea9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
"""

import asyncio
import logging
import sys

import uvicorn
from fastapi import FastAPI
from loguru import logger

from findmyorder import FindMyOrder, __version__

logger.remove()
logger.add(sys.stderr, level="INFO")

async def main():
"""Main"""
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ pytest = "^7.0"
pytest-cov = "^4.1"
pytest-asyncio = "^0.21.0"
pytest-mock = "^3.11.1"
pytest-loguru = "^0.2.0"

[tool.poetry.group.docs]
optional = true
Expand Down

0 comments on commit 20a2ea9

Please sign in to comment.