From 0055bdaf6bb56a91908020d8ef753eb1b3dd4638 Mon Sep 17 00:00:00 2001 From: Simon Perkins Date: Tue, 28 Jan 2025 19:08:33 +0200 Subject: [PATCH] Improve the test case to test usingthe ::WEATHER subtable path --- src/arcae/tests/test_descriptor.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/arcae/tests/test_descriptor.py b/src/arcae/tests/test_descriptor.py index fe503626..6e876977 100644 --- a/src/arcae/tests/test_descriptor.py +++ b/src/arcae/tests/test_descriptor.py @@ -74,6 +74,10 @@ def test_ms_and_weather_subtable(tmp_path_factory): assert "WEATHER" in td["_keywords_"] assert td["_keywords_"]["WEATHER"] == f"Table: {ms}/WEATHER" + # Opening the table works with the subtable :: reference syntax + with Table.from_filename(f"{ms}::WEATHER") as W: + pass + def test_weather_subtable_descriptor(): # Test required and complete descriptor for the WEATHER subtable