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

chift-oneapi / chift-python-sdk / 6143325214

11 Sep 2023 07:31AM UTC coverage: 99.328%. Remained the same
6143325214

push

github-actions

tdetry
 [CI] publish on click

2659 of 2677 relevant lines covered (99.33%)

0.99 hits per line

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

97.3
/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 payment_consumer(chift):
1✔
40
    return chift.Consumer.get("0740d8ad-1920-48c6-8909-c0ea8f8be19e")
1✔
41

42

43
@pytest.fixture
1✔
44
def custom_regate_consumer(chift):
1✔
45
    return chift.Consumer.get("0740d8ad-1920-48c6-8909-c0ea8f8be19e")
1✔
46

47

48
@pytest.fixture
1✔
49
def two_connections_consumer(chift):
1✔
50
    # get consumer wth 2 connections for one vertical
51
    return chift.Consumer.get("bccbe8ed-a2eb-431b-9ba9-7264557fbafd")
1✔
52

53

54
@pytest.fixture
1✔
55
def sync_consumer(chift):
1✔
56
    # get consumer with a sync
57
    return chift.Consumer.get("0740d8ad-1920-48c6-8909-c0ea8f8be19e")
×
58

59

60
@pytest.fixture
1✔
61
def sync(chift):
1✔
62
    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