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

chift-oneapi / chift-python-sdk / 15810519605

22 Jun 2025 08:23PM UTC coverage: 94.823%. Remained the same
15810519605

push

github

hhertoghe
fix (pagination): make sure it stops

1 of 1 new or added line in 1 file covered. (100.0%)

4011 of 4230 relevant lines covered (94.82%)

0.95 hits per line

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

84.62
/tests/test_webhook.py
1
import pytest
1✔
2

3
from tests.fixtures import webhook
1✔
4

5

6
@pytest.mark.mock_chift_response(
1✔
7
    webhook.WEBHOOK_ALL,
8
    webhook.WEBHOOK_ALL[0],
9
)
10
def test_webhook_instance(chift):
1✔
11
    webhooks = chift.Webhook.all()
1✔
12

13
    expected_webhook = webhooks[0]
1✔
14

15
    actual_webhook = chift.Webhook.get(expected_webhook.webhookid)
1✔
16

17
    assert expected_webhook == actual_webhook
1✔
18

19

20
@pytest.mark.mock_chift_response(
1✔
21
    webhook.WEBHOOK_TYPES_ALL,
22
)
23
@pytest.mark.skip(reason="possible bug")
1✔
24
def test_webhook_type(chift):
1✔
25
    webhook_type = chift.WebhookType.all()
×
26

27
    assert webhook_type[0].event
×
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