diff tests/test-config-env.py @ 44031:1864efbe90d9

ui: add the ability to apply `defaultrc` configs from resources We will want the ability to cat out these resources, but the same would apply to templates, so I'm going to wait for the dust to settle on that. Reading the default config directly from the filesystem is still in place for now. Differential Revision: https://phab.mercurial-scm.org/D7776
author Matt Harbison <matt_harbison@yahoo.com>
date Sun, 29 Dec 2019 21:06:34 -0500
parents 527eba3013ea
children 2d4cad94d08a
line wrap: on
line diff
--- a/tests/test-config-env.py	Sun Dec 29 20:51:44 2019 -0500
+++ b/tests/test-config-env.py	Sun Dec 29 21:06:34 2019 -0500
@@ -37,6 +37,7 @@
 
 
 extensions.wrapfunction(rcutil, 'defaultrcpath', lambda orig: [])
+extensions.wrapfunction(rcutil, 'default_rc_resources', lambda orig: [])
 
 rcutil.systemrcpath = systemrcpath
 rcutil.userrcpath = userrcpath