From d452a61427b9c2c4d2e73c4ad9a6dbc1476e1b24 Mon Sep 17 00:00:00 2001 From: arjunsavel Date: Tue, 9 Jul 2024 16:12:14 -0400 Subject: [PATCH] add documentation to regime table test --- tests/test_schema.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_schema.py b/tests/test_schema.py index 7912305..f15a170 100644 --- a/tests/test_schema.py +++ b/tests/test_schema.py @@ -127,6 +127,9 @@ def test_instruments_schema(values, error_state): ({"regime": "ThisIsASuperLongInstrumentNameThatIsInvalid!!!!!!!"}, ValueError) ]) def test_instruments_schema(values, error_state): + """ + In the schema, there is a validation that makes sure that the length of the regime is less than 30 characters. + """ schema_tester(Regimes, values, error_state)