Skip to content

Commit

Permalink
Update the test_generate() test to use a string instead of a byte
Browse files Browse the repository at this point in the history
class for the YAML rule. This is to adhere to the centralized
schema validation and parsing in https://github.com/instructlab/schema.

Signed-off-by: Martin Hickey <[email protected]>
  • Loading branch information
hickeyma committed Aug 22, 2024
1 parent 0b2f5a4 commit d7059d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_generate_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

TEST_TAXONOMY_BASE = "main"

TEST_CUSTOM_YAML_RULES = b"""extends: relaxed
TEST_CUSTOM_YAML_RULES = """extends: relaxed
rules:
line-length:
max: 180
Expand Down

0 comments on commit d7059d2

Please sign in to comment.