configitems: register the test 'fakedirstatewritetime.fakenow' config
authorBoris Feld <boris.feld@octobus.net>
Sat, 14 Oct 2017 00:15:37 +0200
changeset 34771 28b7034a916a
parent 34770 bb05720913d3
child 34772 7be2f229285b
configitems: register the test 'fakedirstatewritetime.fakenow' config
tests/fakedirstatewritetime.py
--- a/tests/fakedirstatewritetime.py	Fri Oct 13 23:26:16 2017 +0200
+++ b/tests/fakedirstatewritetime.py	Sat Oct 14 00:15:37 2017 +0200
@@ -12,9 +12,17 @@
     dirstate,
     extensions,
     policy,
+    registrar,
     util,
 )
 
+configtable = {}
+configitem = registrar.configitem(configtable)
+
+configitem('fakedirstatewritetime', 'fakenow',
+    default=None,
+)
+
 parsers = policy.importmod(r'parsers')
 
 def pack_dirstate(fakenow, orig, dmap, copymap, pl, now):