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

ni / nimi-python / 3909 / 1
91%
master: 91%

Build:
DEFAULT BRANCH: master
Ran 22 May 2018 03:07PM UTC
Files 27
Run time 3s
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

22 May 2018 03:02PM UTC coverage: 80.539% (-0.2%) from 80.693%
3909.1

push

travis-ci

web-flow
Make Python API thread-safe by using IVI session locking (#857)

* Add session lock to per function metadata based on config value if not already set

* Add lock context manager

* Add support for lock context manager around function contents

* Update metadata with locking information

* Update generated files

* Add comment about race condition

* Add templates for lock/unlock

Need hand maintained code because lock/unlock have an in/out parameter that the code generator does not support.

* Fix pep8

* Use caller_has_lock in context manager

* Use special templates

* Update generated files

* Lock/unlock need to be on _SessionBase

* Update generated files

* Add lock/unlock to nifake

* Some parameters can be passed as None

* Fix logic

* Fix logic

* Add and test session locking to nifake

* Fix flake8 issue

* Update generated files

* Update changelog

* Add one system test with lock context manager

* Update to force commit

* Update generated files

* Update changelog

* Fix typo

* Fix incorrect comment

* Fix merge issue

* Update generated files

* Don't use locking

* Update generated files

* Temp decorator

* Decorator will be in a separate PR

* Don't support or use caller_has_lock

* Update generated files

* Remove comment that doesn't apply anymore

* Remove metadata that we are not using for this PR

* We don't need to add use_session_lock in this PR

* Update generated files

* Update documentation for lock/unlock

* Update generated files

* Call _lock_session() in lock() instead of in the context manager

* Make lock_session private and use unlock instead of unlock_session

* Use metadata instead of hardcoding names

* Update generated files

* Update lock/unlock documentation

* Fix comment indentation

* flake8

* Update generated files

* Flake8 issue

* Update changelog

* Update changelog

* Add locking decorator

*... (continued)

3079 of 3823 relevant lines covered (80.54%)

0.81 hits per line

Source Files on job 3909.1
  • Tree
  • List 0
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3598
  • Travis Job 3909.1
  • 64b6b70b on github
  • Prev Job for on master (#3904.6)
  • Next Job for on master (#3912.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

© 2026 Coveralls, Inc