Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
BillSchumacher committed Apr 19, 2023
1 parent d876de0 commit d8fd834
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/unit/models/test_base_open_api_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ def test_dummy_plugin_default_methods(dummy_plugin):
assert dummy_plugin.post_prompt(None) is None
assert dummy_plugin.on_planning(None, None) is None
assert dummy_plugin.post_planning("world") == "world"
pre_instruction = dummy_plugin.pre_instruction([{"role": "system", "content": "Beep, bop, boop"}])
pre_instruction = dummy_plugin.pre_instruction(
[{"role": "system", "content": "Beep, bop, boop"}]
)
assert isinstance(pre_instruction, list)
assert len(pre_instruction) == 1
assert pre_instruction[0]["role"] == "system"
Expand Down

0 comments on commit d8fd834

Please sign in to comment.