Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
yacmov committed May 30, 2024
1 parent d24a37c commit 8ca2eaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions app/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,10 +538,8 @@ def extract_form_values(request):
def update_port() -> bool:
"""
Checks if the current platform is a Unix-based system (like Darwin or Linux). If so, returns True.
Returns:
bool - True if running on a Unix-based system, False otherwise
:return: bool - True if running on a Unix-based system, False otherwise
"""
if sys.platform.lower() in ['darwin', 'linux']:
return True
return False
return False
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
tests remain fast and do not modify external state.
"""
import os
import sys
import sys
from app import utils


Expand Down

0 comments on commit 8ca2eaa

Please sign in to comment.