Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sjrl committed Oct 10, 2024
1 parent 6cca5a7 commit 8f6a464
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/components/generators/test_openai_dalle.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def test_to_dict(self) -> None:
generator = DALLEImageGenerator()
data = generator.to_dict()
assert data == {
"type": "dc_custom_component.components.generators.image_generator.DALLEImageGenerator",
"type": "haystack.components.generators.image_generator.DALLEImageGenerator",
"init_parameters": {
"model": "dall-e-3",
"quality": "standard",
Expand All @@ -24,7 +24,7 @@ def test_to_dict(self) -> None:

def test_from_dict(self) -> None:
data = {
"type": "dc_custom_component.components.generators.image_generator.DALLEImageGenerator",
"type": "haystack.components.generators.image_generator.DALLEImageGenerator",
"init_parameters": {
"model": "dall-e-3",
"quality": "standard",
Expand Down

0 comments on commit 8f6a464

Please sign in to comment.