Skip to content

Commit

Permalink
Format Python code with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacCheng9 authored and github-actions[bot] committed Dec 27, 2023
1 parent f0e553a commit af22bce
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_finance.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def test_get_history_invalid() -> None:
],
)
def test_get_info_valid(
symbol: str, expected_type: str, expected_currency: str
symbol: str, expected_type: str, expected_currency: str
) -> None:
"""
Tests the get_info method using valid symbols to ensure pricing data
Expand Down Expand Up @@ -175,7 +175,7 @@ def test_get_info_invalid() -> None:
],
)
def test_get_rate_of_return_valid(
current: float, purchase: float, expected_result: float
current: float, purchase: float, expected_result: float
) -> None:
"""
Tests the get_rate_of_return method using valid current and
Expand Down Expand Up @@ -209,7 +209,7 @@ def test_get_rate_of_return_invalid() -> None:


def test_upsert_transaction_into_portfolio_valid_buy(
setup_and_teardown_database,
setup_and_teardown_database,
) -> None:
""" """
finance.upsert_transaction_into_portfolio(
Expand All @@ -234,13 +234,13 @@ def test_upsert_transaction_into_portfolio_valid_buy(


def test_upsert_transaction_into_portfolio_valid_sell(
setup_and_teardown_database,
setup_and_teardown_database,
) -> None:
pass


def test_upsert_transaction_into_portfolio_invalid_sell(
setup_and_teardown_database,
setup_and_teardown_database,
) -> None:
""" """
pass
Expand Down

0 comments on commit af22bce

Please sign in to comment.