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

LudovicRousseau / pyscard-devel / 14284919686
65%

Build:
DEFAULT BRANCH: master
Ran 05 Apr 2025 07:06PM UTC
Jobs 20
Files 76
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Apr 2025 07:03PM UTC coverage: 63.023% (+0.01%) from 63.009%
14284919686

push

github

LudovicRousseau
Add context manager protocol to CardService

You can now use the with ...: construct.
The PC/SC context used by the card service will be released at the end
of the context.

Example:
from smartcard.CardRequest import CardRequest

with CardRequest(timeout=10) as req:
    with req.waitforcard() as svc:
        svc.connection.connect()
        svc.connection.disconnect()

103 of 482 branches covered (21.37%)

Branch coverage included in aggregate %.

4 of 10 new or added lines in 2 files covered. (40.0%)

44 existing lines in 20 files now uncovered.

4446 of 6736 relevant lines covered (66.0%)

4.55 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
39.13
-1.78% src/smartcard/PassThruCardService.py
4
35.71
-1.32% src/smartcard/CardService.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% src/smartcard/CardRequest.py
1
0.0
0.0% src/smartcard/CardType.py
1
0.0
0.0% src/smartcard/ExclusiveConnectCardConnection.py
1
10.26
-0.05% src/smartcard/pcsc/PCSCCardConnection.py
1
0.0
0.0% src/smartcard/pcsc/PCSCCardRequest.py
1
0.0
0.0% src/smartcard/pcsc/PCSCPart10.py
1
0.0
0.0% src/smartcard/sw/ISO7816_4ErrorChecker.py
1
0.0
0.0% src/smartcard/sw/ISO7816_4_SW1ErrorChecker.py
1
0.0
0.0% src/smartcard/sw/ISO7816_8ErrorChecker.py
1
0.0
0.0% src/smartcard/sw/ISO7816_9ErrorChecker.py
1
0.0
0.0% src/smartcard/sw/op21_ErrorChecker.py
1
96.88
-3.13% src/smartcard/Synchronization.py
1
85.53
-0.25% .tox/py3.13/Lib/site-packages/smartcard/scard/scard.py
2
35.96
-0.83% src/smartcard/CardConnection.py
2
25.58
-2.99% src/smartcard/Session.py
2
87.43
0.0% .tox/py3.13/lib/python3.13/site-packages/smartcard/scard/scard.py
3
0.0
0.0% src/smartcard/sw/SWExceptions.py
4
0.0
0.0% src/smartcard/ExclusiveTransmitCardConnection.py
9
35.71
-1.32% src/smartcard/CardService.py
9
39.13
-1.78% src/smartcard/PassThruCardService.py
Jobs
ID Job ID Ran Files Coverage
1 14284919686.1 05 Apr 2025 07:06PM UTC 67
44.25
GitHub Action Run
2 14284919686.2 05 Apr 2025 07:06PM UTC 67
44.25
GitHub Action Run
3 14284919686.3 05 Apr 2025 07:06PM UTC 67
24.26
GitHub Action Run
4 14284919686.4 05 Apr 2025 07:06PM UTC 67
44.02
GitHub Action Run
5 14284919686.5 05 Apr 2025 07:06PM UTC 67
44.02
GitHub Action Run
6 14284919686.6 05 Apr 2025 07:06PM UTC 67
42.11
GitHub Action Run
7 14284919686.7 05 Apr 2025 07:06PM UTC 67
44.02
GitHub Action Run
8 14284919686.8 05 Apr 2025 07:06PM UTC 67
44.25
GitHub Action Run
9 14284919686.9 05 Apr 2025 07:06PM UTC 67
23.66
GitHub Action Run
10 14284919686.10 05 Apr 2025 07:06PM UTC 67
42.34
GitHub Action Run
11 14284919686.11 05 Apr 2025 07:07PM UTC 67
43.79
GitHub Action Run
12 14284919686.12 05 Apr 2025 07:07PM UTC 67
41.89
GitHub Action Run
13 14284919686.13 05 Apr 2025 07:07PM UTC 67
43.79
GitHub Action Run
14 14284919686.14 05 Apr 2025 07:07PM UTC 67
43.79
GitHub Action Run
15 14284919686.15 05 Apr 2025 07:07PM UTC 67
24.8
GitHub Action Run
16 14284919686.16 05 Apr 2025 07:09PM UTC 67
41.89
GitHub Action Run
17 14284919686.17 05 Apr 2025 07:09PM UTC 67
43.79
GitHub Action Run
18 14284919686.18 05 Apr 2025 07:09PM UTC 67
43.79
GitHub Action Run
19 14284919686.19 05 Apr 2025 07:09PM UTC 67
39.47
GitHub Action Run
20 14284919686.20 05 Apr 2025 07:10PM UTC 67
43.79
GitHub Action Run
Source Files on build 14284919686
  • Tree
  • List 76
  • Changed 7
  • Source Changed 6
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #14284919686
  • 245353be on github
  • Prev Build on master (#14282069489)
  • Next Build on master (#14318833418)
  • Delete
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

© 2026 Coveralls, Inc