Skip to content

Commit

Permalink
fixed overlapping test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Mar 16, 2024
1 parent 7bfb5c1 commit e4935c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_lmm.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test_generate_classifier(openai_lmm_mock): # noqa: F811
['{"Parameters": {"prompt": "cat"}}'],
indirect=["openai_lmm_mock"],
)
def test_generate_classifier(openai_lmm_mock): # noqa: F811
def test_generate_detector(openai_lmm_mock): # noqa: F811
lmm = OpenAILMM()
prompt = "Can you generate a cat classifier?"
detector = lmm.generate_detector(prompt)
Expand All @@ -64,7 +64,7 @@ def test_generate_classifier(openai_lmm_mock): # noqa: F811
['{"Parameters": {"prompt": "cat"}}'],
indirect=["openai_lmm_mock"],
)
def test_generate_classifier(openai_lmm_mock): # noqa: F811
def test_generate_segmentor(openai_lmm_mock): # noqa: F811
lmm = OpenAILMM()
prompt = "Can you generate a cat classifier?"
segmentor = lmm.generate_segmentor(prompt)
Expand Down

0 comments on commit e4935c2

Please sign in to comment.