summaryrefslogtreecommitdiff
path: root/app-portage/layman/files/layman-2.0.0.doctest.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-portage/layman/files/layman-2.0.0.doctest.patch')
-rw-r--r--app-portage/layman/files/layman-2.0.0.doctest.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/app-portage/layman/files/layman-2.0.0.doctest.patch b/app-portage/layman/files/layman-2.0.0.doctest.patch
new file mode 100644
index 000000000000..6d3305ca3ef7
--- /dev/null
+++ b/app-portage/layman/files/layman-2.0.0.doctest.patch
@@ -0,0 +1,20 @@
+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}