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

ni / nimi-python / 1284
91%

Build:
DEFAULT BRANCH: master
Ran 29 Sep 2017 03:36PM UTC
Jobs 6
Files 8
Run time 6min
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

pending completion
1284

push

travis-ci

web-flow
Improve syntax for calling into channel-based methods (#375)

* DRY: Remove duplication in comments and code

* Improve enum names and documentation of ParamListType

* Add repeated capability information to parameter and function metadata.

* Use self._repeated_capability when calling into the DLL rather than
using the channel input in the session’s method.
* Rename ‘library_call_snippet’ in metadata to
‘library_method_call_snippet’ for improved consistency.

* Fix 'library_method_call_snippet'. Must call encode() in Python3

* Add 'skip_repeated_capability_parameter' flag to ParamListTypeDefaults

This allows us to not include channel when calling methods.

* Retrofit attributes.py now that methods don't have a channel input

* Add channel-based function to niFake for unit testing.

* Add tests for function that takes in channel input.

* Update generated code

* Move rendering a method into its own mako def block

* Add 'name' to function metadata as temporary workaround for #372

* Fix unit test

* Update generated

* Improve comment

* Fix _add_has_repeated_capability()

* Rewrite filter_codegen_functions for brevity

* Move methods without repeated capability parameter to the Session class.

That way you cannot call them on _RepeatedCapability object.

* Update generated

* Enable test for methods not in _RepeatedCapability

* Make flake8 happy

* Modify CHANGELOG.md for public change.

468 of 519 relevant lines covered (90.17%)

5.41 hits per line

Coverage Regressions

Lines Coverage ∆ File
31
100.0
bin/nifake/nifake/session.py
2
100.0
bin/nifake/nifake/attributes.py
Jobs
ID Job ID Ran Files Coverage
1 1284.1 29 Sep 2017 03:36PM UTC 0
90.17
Travis Job 1284.1
2 1284.2 29 Sep 2017 03:36PM UTC 0
90.17
Travis Job 1284.2
3 1284.3 29 Sep 2017 03:36PM UTC 0
90.17
Travis Job 1284.3
4 1284.4 29 Sep 2017 03:37PM UTC 0
89.98
Travis Job 1284.4
5 1284.5 29 Sep 2017 03:42PM UTC 0
90.17
Travis Job 1284.5
6 1284.6 29 Sep 2017 03:39PM UTC 0
89.98
Travis Job 1284.6
Source Files on build 1284
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1284
  • f40ffa4b on github
  • Prev Build on master (#1261)
  • Next Build on master (#1289)
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