Skip to content

Commit

Permalink
add documentation to regime table test
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsavel committed Jul 9, 2024
1 parent 3a23578 commit d452a61
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit d452a61

Please sign in to comment.