Skip to content

Commit

Permalink
Revert "update expected schema validator errors"
Browse files Browse the repository at this point in the history
This reverts commit 5cc5a2c.
  • Loading branch information
GiaJordan committed Oct 11, 2023
1 parent 641748f commit ec06372
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ def test_dag(self, helpers):

# nodes could be in different order so need to account for that
expected_errors = ['Schematic requires models be a directed acyclic graph (DAG). Your graph is not a DAG, we found a loop between: Patient and PatientID, please remove this loop from your model and submit again.',
'Schematic requires models be a directed acyclic graph (DAG). Your graph is not a DAG, we found a loop between: PatientID and Patient, please remove this loop from your model and submit again.',
'Schematic requires models be a directed acyclic graph (DAG). Your graph is not a DAG, we found a loop between: Diagnosis and Diagnosis, please remove this loop from your model and submit again.']

'Schematic requires models be a directed acyclic graph (DAG). Your graph is not a DAG, we found a loop between: PatientID and Patient, please remove this loop from your model and submit again.']
assert validator_errors[0] in expected_errors

0 comments on commit ec06372

Please sign in to comment.