aboutsummaryrefslogtreecommitdiff
path: root/src/argaze.test/AreaOfInterest/AOI2DScene.py
diff options
context:
space:
mode:
authorThéo de la Hogue2024-03-12 15:31:55 +0100
committerThéo de la Hogue2024-03-12 15:31:55 +0100
commit182844cfbc1462c266245186f97f05986f0170ce (patch)
tree27f322e20ef5f20e3a5db8d454567add62df04e7 /src/argaze.test/AreaOfInterest/AOI2DScene.py
parentaf7657659453b8cf19ce7be5447456c86b35d59c (diff)
downloadargaze-182844cfbc1462c266245186f97f05986f0170ce.zip
argaze-182844cfbc1462c266245186f97f05986f0170ce.tar.gz
argaze-182844cfbc1462c266245186f97f05986f0170ce.tar.bz2
argaze-182844cfbc1462c266245186f97f05986f0170ce.tar.xz
Fixing tests.
Diffstat (limited to 'src/argaze.test/AreaOfInterest/AOI2DScene.py')
-rw-r--r--src/argaze.test/AreaOfInterest/AOI2DScene.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/argaze.test/AreaOfInterest/AOI2DScene.py b/src/argaze.test/AreaOfInterest/AOI2DScene.py
index 10ff430..1649e54 100644
--- a/src/argaze.test/AreaOfInterest/AOI2DScene.py
+++ b/src/argaze.test/AreaOfInterest/AOI2DScene.py
@@ -177,25 +177,6 @@ class TestAOI2DSceneClass(unittest.TestCase):
self.assertEqual(len(aoi_2d_scene_copy.items()), 1)
self.assertEqual(list(aoi_2d_scene_copy.keys()), ["A"])
-class TestTimeStampedAOIScenesClass(unittest.TestCase):
- """Test TimeStampedAOIScenes class."""
-
- def test___setitem__(self):
- """Test TimeStampedAOIScenes creation."""
-
- aoi_2D_A = AOIFeatures.AreaOfInterest([[0, 0], [0, 1], [1, 1], [1, 0]])
- aoi_2D_B = AOIFeatures.AreaOfInterest([[1, 1], [1, 2], [2, 2], [2, 1]])
- aoi_2d_scene = AOI2DScene.AOI2DScene({"A": aoi_2D_A, "B": aoi_2D_B})
-
- ts_aoi_scenes = AOIFeatures.TimeStampedAOIScenes()
-
- ts_aoi_scenes[0] = aoi_2d_scene
-
- # Check that only AOIScene can be added
- with self.assertRaises(AssertionError):
-
- ts_aoi_scenes[1] = "This string is not an AOI2DScene"
-
if __name__ == '__main__':
unittest.main() \ No newline at end of file