fossasia / visdom

A flexible tool for creating, organizing, and sharing visualizations of live, rich data. Supports Torch and Numpy.
Apache License 2.0
9.93k stars 1.13k forks source link

Test for complete property update & fix the test `property_callback` #899

Closed da-h closed 1 year ago

da-h commented 1 year ago

Description

This PR applies two small changes to the testing-setup:

  1. It adds some simple checks to test if properties in a PropertyPane are updated after a user-input.
  2. Also fixing the respective test property_callback. The test did not update the properties correctly; it did write the changes, but to another env.

Motivation and Context

-

How Has This Been Tested?

-

Screenshots (if appropriate):

-

Types of changes

Checklist: