Spaces:
Running
on
Zero
Running
on
Zero
import pytest | |
from src.services.gold_price_service import GoldPriceService | |
def test_get_gold_price(): | |
gold_price_service = GoldPriceService() | |
gold_price = gold_price_service.get_gold_price() | |
assert gold_price.value > 0 | |
assert gold_price.currency == "JPY" |