Skip to content

refactor(test): rename device monitor test to device preview and upda…#986

Merged
wakonig merged 1 commit into
mainfrom
test/cleanup_device_monitor
Jun 29, 2026
Merged

refactor(test): rename device monitor test to device preview and upda…#986
wakonig merged 1 commit into
mainfrom
test/cleanup_device_monitor

Conversation

@wakonig

@wakonig wakonig commented Jun 27, 2026

Copy link
Copy Markdown
Member

towards removing the old device monitor 1d / 2d endpoints...

Copilot AI review requested due to automatic review settings June 27, 2026 11:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the end-to-end scan tests to validate the device “preview” stream (via Redis endpoints) instead of the older device monitor test assertions, and fixes a misnamed unit_test metadata tag.

Changes:

  • Renamed the e2e test from test_device_monitor to test_device_preview and switched assertions to use MessageEndpoints.device_preview(...) + connector.get_last(...).
  • Removed prior device_monitor-based assertions from the renamed test.
  • Corrected bec.metadata["unit_test"] in test_async_data.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread bec_ipython_client/tests/end-2-end/test_scans_e2e.py
Comment thread bec_ipython_client/tests/end-2-end/test_scans_e2e.py
@codecov

codecov Bot commented Jun 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@wakonig wakonig self-assigned this Jun 27, 2026
@wakonig wakonig requested a review from a team June 27, 2026 12:13
@wakonig wakonig merged commit 8dbbaff into main Jun 29, 2026
58 checks passed
@wakonig wakonig deleted the test/cleanup_device_monitor branch June 29, 2026 08:01
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.

3 participants