aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2021-03-24 12:57:02 -0600
committerTim Harder <radhermit@gmail.com>2021-03-24 12:57:02 -0600
commit83d8608735e6bd6cc892b76e98fd8de2c8f3f4ab (patch)
tree44692bd4fa35ea5fc58bcf3e024475aadd2f26eb /tests
parenttests: verify multiple `pkgdev mask` entries (diff)
downloadpkgdev-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.py1
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')])