Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JarbasAl committed Dec 11, 2024
1 parent 5281d5a commit f04709f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_ocp.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def setUp(self):
os.path.dirname(ocp_pipeline.opm.__file__) + "/models/ocp_entities_v0.csv"
]}
self.ocp = OCPPipelineMatcher(config=config)
self.ocp.skill_aliases["test"] = ["Test Skill"] # pretend a skill is loaded or matching is skipped

def test_match_high(self):
result = self.ocp.match_high(["play metallica"], "en-US")
Expand Down Expand Up @@ -114,6 +115,7 @@ def setUp(self):
os.path.dirname(ocp_pipeline.opm.__file__) + "/models/ocp_entities_v0.csv"
]}
self.ocp = OCPPipelineMatcher(config=config)
self.ocp.skill_aliases["test"] = ["Test Skill"] # pretend a skill is loaded or matching is skipped

def test_match_high(self):
result = self.ocp.match_high(["play metallica"], "en-US")
Expand Down

0 comments on commit f04709f

Please sign in to comment.