diff options
author | Tim Harder <radhermit@gmail.com> | 2021-03-24 12:57:02 -0600 |
---|---|---|
committer | Tim Harder <radhermit@gmail.com> | 2021-03-24 12:57:02 -0600 |
commit | 83d8608735e6bd6cc892b76e98fd8de2c8f3f4ab (patch) | |
tree | 44692bd4fa35ea5fc58bcf3e024475aadd2f26eb /tests | |
parent | tests: verify multiple `pkgdev mask` entries (diff) | |
download | pkgdev-83d8608735e6bd6cc892b76e98fd8de2c8f3f4ab.tar.gz pkgdev-83d8608735e6bd6cc892b76e98fd8de2c8f3f4ab.tar.bz2 pkgdev-83d8608735e6bd6cc892b76e98fd8de2c8f3f4ab.zip |
tests: force repo re-sync when adding new mask
Otherwise the cached version is used and which doesn't include the new
mask.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/scripts/test_pkgdev_mask.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/scripts/test_pkgdev_mask.py b/tests/scripts/test_pkgdev_mask.py index 1d8b4d7..c0366d5 100644 --- a/tests/scripts/test_pkgdev_mask.py +++ b/tests/scripts/test_pkgdev_mask.py @@ -164,4 +164,5 @@ class TestPkgdevMask: pytest.raises(SystemExit), \ chdir(pjoin(self.repo.path)): self.script() + self.repo.sync() assert self.profile.masks == frozenset([atom_cls('=cat/pkg-0'), atom_cls('=cat/pkg-1')]) |