aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo de la Hogue2023-01-24 12:24:15 +0100
committerThéo de la Hogue2023-01-24 12:24:15 +0100
commitedb7f4bf1f25511403f7673bd2c097b578a6f7c3 (patch)
tree4842ba29a558d9fef941c356d7e3ab54e17b2c68
parent6abe54bb1a9349877678fdae54a9b2ebae3f7575 (diff)
downloadargaze-edb7f4bf1f25511403f7673bd2c097b578a6f7c3.zip
argaze-edb7f4bf1f25511403f7673bd2c097b578a6f7c3.tar.gz
argaze-edb7f4bf1f25511403f7673bd2c097b578a6f7c3.tar.bz2
argaze-edb7f4bf1f25511403f7673bd2c097b578a6f7c3.tar.xz
Updating UnvalidGazePosition message field.
-rw-r--r--src/argaze.test/GazeFeatures.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/argaze.test/GazeFeatures.py b/src/argaze.test/GazeFeatures.py
index d6abd12..cbe6056 100644
--- a/src/argaze.test/GazeFeatures.py
+++ b/src/argaze.test/GazeFeatures.py
@@ -125,7 +125,7 @@ class TestUnvalidGazePositionClass(unittest.TestCase):
def test___repr__(self):
"""Test UnvalidGazePosition string representation."""
- self.assertEqual(repr(GazeFeatures.UnvalidGazePosition()), "{\"value\": [null, null], \"precision\": null}")
+ self.assertEqual(repr(GazeFeatures.UnvalidGazePosition()), "{\"message\": null, \"value\": [null, null], \"precision\": null}")
class TestTimeStampedGazePositionsClass(unittest.TestCase):
"""Test TimeStampedGazePositions class."""
@@ -176,7 +176,7 @@ class TestTimeStampedGazePositionsClass(unittest.TestCase):
ts_gaze_positions[0] = GazeFeatures.UnvalidGazePosition()
- self.assertEqual(repr(ts_gaze_positions), "{\"0\": {\"value\": [null, null], \"precision\": null}}")
+ self.assertEqual(repr(ts_gaze_positions), "{\"0\": {\"message\": null, \"value\": [null, null], \"precision\": null}}")
def test_as_dataframe(self):
"""Test inherited as_dataframe method."""