Skip to content

Commit

Permalink
Re-fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mayhem committed Jan 30, 2024
1 parent 3ee78ca commit 6964eb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def test_recs(self):
assert r[0] == {"entity": "recs", "values": ["mr_monkey"], "weight": 1, "opts": ["listened"]}

r = pp.parse("recs:(mr_monkey):2:unlistened")
assert r[0] == {"entity": "recs", "values": ["mr_monkey"], "weight": 1, "opts": ["unlistened"]}
assert r[0] == {"entity": "recs", "values": ["mr_monkey"], "weight": 2, "opts": ["unlistened"]}

r = pp.parse("recs:(rob zombie)")
assert r[0] == {"entity": "recs", "values": ["rob zombie"], "weight": 1, "opts": []}

0 comments on commit 6964eb6

Please sign in to comment.