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

chift-oneapi / chift-python-sdk / 6786875963

07 Nov 2023 03:44PM UTC coverage: 99.032%. First build
6786875963

Pull #22

github

web-flow
Merge bc754f425 into c1e063f63
Pull Request #22: [0.1.23] fix accounting/invoices params

14 of 16 new or added lines in 3 files covered. (87.5%)

2864 of 2892 relevant lines covered (99.03%)

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