Skip to content

Commit

Permalink
test: correct probability test
Browse files Browse the repository at this point in the history
  • Loading branch information
natelandau committed Nov 4, 2023
1 parent 1063e10 commit b7cfc3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/valentina/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def version_callback(value: bool) -> None:
logging.getLogger("discord.gateway").setLevel(level=CONFIG["VALENTINA_LOG_LEVEL_HTTP"].upper())
logging.getLogger("discord.webhook").setLevel(level=CONFIG["VALENTINA_LOG_LEVEL_HTTP"].upper())
logging.getLogger("discord.client").setLevel(level=CONFIG["VALENTINA_LOG_LEVEL_HTTP"].upper())
logging.getLogger("faker").setLevel(level="INFO")
logging.getLogger("peewee").setLevel(level="INFO")
for service in ["urllib3", "boto3", "botocore", "s3transfer"]:
logging.getLogger(service).setLevel(level=CONFIG["VALENTINA_LOG_LEVEL_AWS"].upper())
Expand Down
2 changes: 1 addition & 1 deletion tests/test_probability.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async def test_calculate_no_db(mock_ctx1):
assert round(result.total_successes) in range(70, 80)
assert round(result.total_failures) in range(15, 30)
assert round(result.BOTCH) in range(13, 17)
assert round(result.FAILURE) in range(10, 12)
assert round(result.FAILURE) in range(8, 14)
assert round(result.SUCCESS) in range(70, 73)
assert round(result.CRITICAL) in range(3, 6)

Expand Down

0 comments on commit b7cfc3f

Please sign in to comment.