What is the issue?
PR #822 corrected dbNodeFromCode to join code.tags correctly, producing "111-111,222-222" for input tags ["111-111", "222-222"]. The expected value in test_dbNodeFromNode was never updated and still expects "1,2", so the test always fails.
Expected Behaviour
test_dbNodeFromNode should pass and correctly validate that dbNodeFromCode produces a comma-separated string of tag values.
Actual Behaviour
AssertionError: '111-111,222-222' != '1,2'
Steps to reproduce
- Run the test suite: flask test
- Observe the failure on test_dbNodeFromNode in db_test.py
What is the issue?
PR #822 corrected dbNodeFromCode to join code.tags correctly, producing "111-111,222-222" for input tags ["111-111", "222-222"]. The expected value in test_dbNodeFromNode was never updated and still expects "1,2", so the test always fails.
Expected Behaviour
test_dbNodeFromNode should pass and correctly validate that dbNodeFromCode produces a comma-separated string of tag values.
Actual Behaviour
AssertionError: '111-111,222-222' != '1,2'
Steps to reproduce