We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b21faf commit 50a3b8aCopy full SHA for 50a3b8a
1 file changed
tests/repo/base.py
@@ -110,8 +110,10 @@ def test_getitem_base(self, repo):
110
pkg = repo.create_pkg("cat/pkg-1")
111
assert pkg == repo["cat/pkg-1"]
112
assert pkg == repo[Cpv("cat/pkg-1")]
113
+ assert pkg == repo[Dep("=cat/pkg-1")]
114
+ assert pkg == repo[Dep(">=cat/pkg-1")]
115
- for obj in ("cat/pkg-2", Cpv("cat/pkg-3")):
116
+ for obj in ("cat/pkg-2", Cpv("cat/pkg-3"), Dep("<cat/pkg-1")):
117
with pytest.raises(KeyError):
118
_ = repo[obj]
119
0 commit comments