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

chift-oneapi / chift-python-sdk / 5948075290

23 Aug 2023 07:00AM UTC coverage: 99.31%. First build
5948075290

Pull #2

github-actions

tdetry
[ADD] developer documentation
Pull Request #2: [FIX] tests and models generation

51 of 51 new or added lines in 4 files covered. (100.0%)

2592 of 2610 relevant lines covered (99.31%)

0.99 hits per line

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

97.06
/tests/conftest.py
1
import os
1✔
2

3
import pytest
1✔
4

5
import chift as package
1✔
6

7

8
@pytest.fixture
1✔
9
def chift():
1✔
10
    package.client_secret = os.environ["CHIFT_TESTING_CLIENTSECRET"]
1✔
11
    package.client_id = os.environ["CHIFT_TESTING_CLIENTID"]
1✔
12
    package.account_id = os.environ["CHIFT_TESTING_ACCOUNTID"]
1✔
13
    package.url_base = os.environ["CHIFT_BACKBONE_API"]
1✔
14
    return package
1✔
15

16

17
@pytest.fixture
1✔
18
def invoicing_consumer(chift):
1✔
19
    # get evoliz connection
20
    return chift.Consumer.get("0740d8ad-1920-48c6-8909-c0ea8f8be19e")
1✔
21

22

23
@pytest.fixture
1✔
24
def accounting_consumer(chift):
1✔
25
    return chift.Consumer.get("0740d8ad-1920-48c6-8909-c0ea8f8be19e")
1✔
26

27

28
@pytest.fixture
1✔
29
def pos_consumer(chift):
1✔
30
    return chift.Consumer.get("0740d8ad-1920-48c6-8909-c0ea8f8be19e")
1✔
31

32

33
@pytest.fixture
1✔
34
def ecommerce_consumer(chift):
1✔
35
    return chift.Consumer.get("0740d8ad-1920-48c6-8909-c0ea8f8be19e")
1✔
36

37

38
@pytest.fixture
1✔
39
def custom_regate_consumer(chift):
1✔
40
    return chift.Consumer.get("0740d8ad-1920-48c6-8909-c0ea8f8be19e")
1✔
41

42

43
@pytest.fixture
1✔
44
def two_connections_consumer(chift):
1✔
45
    # get consumer wth 2 connections for one vertical
46
    return chift.Consumer.get("bccbe8ed-a2eb-431b-9ba9-7264557fbafd")
1✔
47

48

49
@pytest.fixture
1✔
50
def sync_consumer(chift):
1✔
51
    # get consumer with a sync
52
    return chift.Consumer.get("0740d8ad-1920-48c6-8909-c0ea8f8be19e")
×
53

54

55
@pytest.fixture
1✔
56
def sync(chift):
1✔
57
    return chift.Sync.get("0bf973a7-22e2-4cef-8ae9-c80e4104320a")
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