Skip to content

Commit

Permalink
update html representation test
Browse files Browse the repository at this point in the history
  • Loading branch information
stephprince committed Feb 8, 2024
1 parent bce6858 commit d24bde8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/unit/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,10 @@ def test_repr_html(self):
timestamps = [0.0, 0.1, 0.2, 0.3]
ts1 = TimeSeries(name="test_ts1", data=data1, unit="grams", timestamps=timestamps)
ts2 = TimeSeries(name="test_ts2", data=data2, unit="grams", timestamps=ts1)
self.assertIn('(link to test_ts1/timestamps)', ts2._repr_html_())
pm = ProcessingModule(name="processing", description="a test processing module")
pm.add(ts1)
pm.add(ts2)
self.assertIn('(link to processing/test_ts1/timestamps)', pm._repr_html_())


class TestImage(TestCase):
Expand Down

0 comments on commit d24bde8

Please sign in to comment.