-
Notifications
You must be signed in to change notification settings - Fork 99
[DO NOT MERGE] Change that doesn't do anything #1251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report
@@ Coverage Diff @@
## master #1251 +/- ##
=======================================
Coverage 91.92% 91.92%
=======================================
Files 20 20
Lines 3655 3655
=======================================
Hits 3360 3360
Misses 295 295
Continue to review full report at Codecov.
|
Left to do: - Test returning list of time values.
Renamed the function parameter from timestamps to delays Renamed the unit tests
* Fix if condition * Update generated files
Remove pypy3 from .travis.yml
Run flake8 on examples and system_tests
#1427) - Change "list" to "basic sequence types" - Fix info related to types and "represented objects" in some parameter docstrings. The format used in nimi-python is `param_name (type): Info about the object that this parameter represents`. In certain places, the type and represented object was flipped.
… sequence types. (#1416)
- Adds nidigital system test test_clock_generator_abort - Adds nidigital system test test_clock_generator_generate_clock - Adds nidigital system test test_frequency_counter_measure_frequency
* Adds nidigital system test `test_create_get_delete_time_sets` - Covers `create_time_set`, `get_time_set_name`, `delete_all_time_sets` * Adds nidigital system test `test_configure_get_time_set_period` - Covers `configure_time_set_period`, `get_time_set_period` * Adds nidigital system test `test_configure_get_time_set_drive_format` - Covers `configure_time_set_drive_format`, `get_time_set_drive_format` * Adds nidigital system test `test_configure_get_time_set_edge` - Covers `configure_time_set_edge`, `get_time_set_edge` * Adds nidigital system test `test_configure_time_set_drive_edges` * Adds nidigital system test `test_configure_time_set_compare_edges_strobe` * Adds nidigital system test `test_configure_get_time_set_edge_multiplier` - Covers `configure_time_set_edge_multiplier`, `get_time_set_edge_multiplier` * Adds nidigital system test `test_configure_time_set_drive_edges2x` * Adds nidigital system test `test_configure_time_set_compare_edges_strobe2x`
* `load_pin_map` - Already covered by `test_get_pin_results_pin_information` * `disable_sites` - New test `test_disable_sites` * `enable_sites` - New test `test_enable_sites` * `is_site_enabled` - See `test_enable_sites` - See `test_disable_sites`
* Adds line to `test_get_pattern_pin_names` documenting coverage of `load_pattern` * Adds test `test_load_get_unload_patterns` - Covers `load_pattern` slightly differently from the other test - Covers `get_pattern_name` - Covers `unload_all_patterns` * Adds test `test_configure_pattern_burst_sites`
* Updates all nidigital tests except for one to use nidigital.<enum_name> to access enums. - Update of the other test was blocked by #1426. A TODO was created to update it, when possible.
…1428) Improves nidigital system test documentation of what methods are tested.
* Documents coverage of `initiate` in `test_configure_pattern_burst_sites` and corrects api usage * Adds test `test_commit` * Adds test `test_initiate_context_manager_and_wait_until_done` - Covers context manager for `initiate` - Covers `wait_until_done` - Covers `is_done` * Adds test `test_abort` * Adds test `test_abort_keep_alive`
A new metadata key called `uses_hightime` will be added for #1368. This change will make the key names consistent.
…_qualname__` (#1435) * Update HistoryRAMCycleInformation.__repr__ to use `__module__` and `__qualname__` Best practice for implementing `__repr__` for custom types is to use `__module__` and `__qualname__`. By including `__module__` in `__repr__`, `eval(repr(HistoryRAMCycleInformation()))` can be called by importing nidigital as `import nidigital`; which is consistent with recommended import style of nimi-python. If this change is accepted, `__repr__` for private and internal types (including nifake) will be changed in a separate PR. `__repr__` for public types in other modules will be done in 2.0 Source Breakers milestone. * Update CHANGELOG
…1431) * Adds test `test_create_source_waveform_serial` * Adds test `test_create_source_waveform_from_file_tdms` * Adds test `test_write_source_waveform_data_from_file_tdms` * Adds test `test_create_capture_waveform_serial` * Adds test `test_create_capture_waveform_from_file_digicapture`
…o `datetime.timedelta` (#1437)
`hightime` library will be used to fix #1368.
* Adds nidigital system test `test_close` * Adds nidigital system test `test_get_fail_count` * Adds nidigital system test `test_send_software_edge_trigger`
…es (#1439) * Add nidigital system tests for channels and sites repeated capabilities - Add test for channels repeated capability - Add test for sites repeated capability - Add test for sites/pins chained repeated capability * In test_sites_rep_cap(), assert sites are enabled before disabling them
…ers repeated capabilities (#1442)
flake8 on TravisCI got updated recently from 3.7.9 to 3.8.1. On the new version, checks for `'...'.format(...)` has become stricter.
`datetime` will be replaced by `hightime` across all nimi-python modules in a separate PR.
Contributor
|
The new version of this PR is #1251. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've updated CHANGELOG.md if applicable.I've added tests applicable for this pull requestWhat does this Pull Request accomplish?
List issues fixed by this Pull Request below, if any.
What testing has been done?