You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-portage/layman/files/layman-2.0.0.doctest.patch

21 lines
933 B

diff --git a/layman/db.py b/layman/db.py
index e2d740c..55a846a 100644
--- a/layman/db.py
+++ b/layman/db.py
@@ -93,6 +93,7 @@ class DB(DbBase):
>>> from layman.config import OptionConfig
>>> myoptions = {'installed' :
... here + '/tests/testfiles/global-overlays.xml',
+ ... 'local_list': here + '/tests/testfiles/overlays.xml',
... 'make_conf' : write2,
... 'nocheck' : 'yes',
... 'storage' : tmpdir}
@@ -173,6 +174,7 @@ class DB(DbBase):
>>> from layman.config import OptionConfig
>>> myoptions = {'installed' :
... here + '/tests/testfiles/global-overlays.xml',
+ ... 'local_list': here + '/tests/testfiles/overlays.xml',
... 'make_conf' : write2,
... 'nocheck' : 'yes',
... 'storage' : tmpdir}