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

chift-oneapi / chift-python-sdk / 15276047364

27 May 2025 01:04PM UTC coverage: 94.743% (-0.09%) from 94.83%
15276047364

Pull #43

github

web-flow
Merge 9fe4affd8 into 22d9be47e
Pull Request #43: feat: allow requesting raw-data

7 of 11 new or added lines in 2 files covered. (63.64%)

3857 of 4071 relevant lines covered (94.74%)

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