Skip to content

Commit

Permalink
fix: test failure due to incorrect api usage
Browse files Browse the repository at this point in the history
- test provides internal dict structure directly but provides a
  non-string input for "default" whereas normally these values are
  provided from XLS/X or MD as strings.
- the failure is at the function `has_last_saved` which looks for the
  length of a value but that is a TypeError for `int` - probably there
  are other places that would expect strings as well.
  • Loading branch information
lindsay-stevens committed Dec 18, 2024
1 parent fd17a60 commit ef662d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_unicode_rtl.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_smart_quotes(self):
"type": "integer",
"name": "my_default_is_123",
"label": "my default is 123",
"default": 123,
"default": "123",
},
],
"choices": [
Expand Down

0 comments on commit ef662d4

Please sign in to comment.