• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

chift-oneapi / chift-python-sdk / 7666915815

26 Jan 2024 10:18AM UTC coverage: 98.637%. First build
7666915815

push

github

hhertoghe
reformat

3112 of 3155 relevant lines covered (98.64%)

0.99 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

91.67
/tests/test_payment.py
1
from chift.openapi.models import Consumer
1✔
2

3

4
def test_transactions(payment_consumer: Consumer):
1✔
5
    consumer = payment_consumer
1✔
6

7
    transactions = consumer.payment.Transaction.all(limit=2)
1✔
8

9
    # unfortunatly, there is no transaction in our accounts
10
    # assert transactions
11

12
    for transaction in transactions:
1✔
13
        assert transaction.id
×
14

15

16
def test_balances(payment_consumer: Consumer):
1✔
17
    consumer = payment_consumer
1✔
18

19
    balances = consumer.payment.Balance.all(limit=2)
1✔
20

21
    assert balances
1✔
22

23
    for balance in balances:
1✔
24
        assert balance.id
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc