Skip to content

Refactor cluster dut aux#191

Merged
sebastianpfischer merged 6 commits into
eclipse-kiso-testing:masterfrom
yannpoupon:Refactor-cluster-DUT-aux
Jan 20, 2023
Merged

Refactor cluster dut aux#191
sebastianpfischer merged 6 commits into
eclipse-kiso-testing:masterfrom
yannpoupon:Refactor-cluster-DUT-aux

Conversation

@yannpoupon
Copy link
Copy Markdown
Contributor

  • enable the message serialization/deserialization in the aux using it (DuT-auxiliary)

  • remove in the cc the parameter "raw" because "msg" only contain raw messages. Additional missing parameters are added as kwargs

@TedRio TedRio self-requested a review November 7, 2022 08:33
Copy link
Copy Markdown
Contributor

@sebastianpfischer sebastianpfischer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do we ensure that we do not break anything bad? Do we merge that and do the changes in our internal project to validate them?

I find it all risky somehow ^^

Comment thread src/pykiso/lib/connectors/cc_example.py
Comment thread src/pykiso/lib/connectors/cc_socket_can/cc_socket_can.py
Comment thread src/pykiso/lib/connectors/cc_vector_can.py
Comment thread tests/test_cc_pcan_can.py
Comment thread tests/test_cc_socket_can.py
Comment thread tests/test_cc_visa.py
Comment thread tests/test_dut_auxiliary.py Outdated
Comment thread src/pykiso/lib/connectors/cc_pcan_can.py
Comment thread src/pykiso/lib/connectors/cc_socket_can/cc_socket_can.py Outdated
Comment thread tests/test_dut_auxiliary.py Outdated
Comment thread docs/advanced_usage/how_to_connector.rst Outdated
Comment thread src/pykiso/lib/auxiliaries/dut_auxiliary.py Outdated
Comment thread src/pykiso/lib/auxiliaries/udsaux/uds_auxiliary.py Outdated
Comment thread src/pykiso/lib/connectors/cc_example.py Outdated
Comment thread src/pykiso/lib/connectors/cc_pcan_can.py Outdated
Comment thread src/pykiso/lib/connectors/cc_tcp_ip.py Outdated
Comment thread src/pykiso/lib/connectors/cc_tcp_ip.py Outdated
Comment thread src/pykiso/lib/connectors/cc_udp.py Outdated
Comment thread src/pykiso/lib/connectors/cc_udp_server.py Outdated
Comment thread src/pykiso/lib/connectors/cc_usb.py Outdated
@sebastianpfischer
Copy link
Copy Markdown
Contributor

@yannpoupon what is the status?

@yannpoupon
Copy link
Copy Markdown
Contributor Author

All suggestions have been applied, a PR for our plugins has been created, where all raw have been removed from the function _cc_receive, and _cc_send.

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 1, 2022

Codecov Report

Merging #191 (d4e79ab) into master (91345aa) will increase coverage by 0.06%.
The diff coverage is 97.19%.

@@            Coverage Diff             @@
##           master     #191      +/-   ##
==========================================
+ Coverage   95.37%   95.43%   +0.06%     
==========================================
  Files          72       72              
  Lines        5551     5542       -9     
==========================================
- Hits         5294     5289       -5     
+ Misses        257      253       -4     
Impacted Files Coverage Δ
src/pykiso/lib/auxiliaries/mp_proxy_auxiliary.py 98.48% <ø> (-1.52%) ⬇️
src/pykiso/lib/auxiliaries/proxy_auxiliary.py 100.00% <ø> (ø)
src/pykiso/lib/connectors/cc_usb.py 0.00% <0.00%> (ø)
src/pykiso/lib/auxiliaries/udsaux/uds_auxiliary.py 96.74% <50.00%> (ø)
src/pykiso/lib/auxiliaries/dut_auxiliary.py 99.20% <87.50%> (-0.80%) ⬇️
src/pykiso/connector.py 100.00% <100.00%> (ø)
.../pykiso/lib/auxiliaries/communication_auxiliary.py 100.00% <100.00%> (ø)
..._control_auxiliary/instrument_control_auxiliary.py 96.59% <100.00%> (ø)
src/pykiso/lib/auxiliaries/record_auxiliary.py 97.40% <100.00%> (ø)
...iso/lib/auxiliaries/udsaux/uds_server_auxiliary.py 94.62% <100.00%> (ø)
... and 26 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Pog3k
Copy link
Copy Markdown
Contributor

Pog3k commented Dec 2, 2022

This shall me be merged before 0.21.0

Comment thread src/pykiso/connector.py Outdated
Comment thread src/pykiso/connector.py
@sebastianpfischer
Copy link
Copy Markdown
Contributor

Should we review or still wait?

@yannpoupon
Copy link
Copy Markdown
Contributor Author

It should be reviewed to be merged to do the new release.

@yannpoupon yannpoupon requested review from BKaDamien and sebastianpfischer and removed request for BKaDamien and sebastianpfischer January 19, 2023 07:49
Comment thread CHANGELOG.md Outdated
Comment thread src/pykiso/connector.py
Comment thread src/pykiso/connector.py
@sebastianpfischer sebastianpfischer linked an issue Jan 20, 2023 that may be closed by this pull request
@sebastianpfischer sebastianpfischer self-requested a review January 20, 2023 14:29
@sebastianpfischer sebastianpfischer merged commit 4e55627 into eclipse-kiso-testing:master Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove messages as default transmission package

6 participants