cfg.py 892 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #!/usr/bin/env python3
  2. #
  3. # mmgen = Multi-Mode GENerator, a command-line cryptocurrency wallet
  4. # Copyright (C)2013-2022 The MMGen Project <mmgen@tuta.io>
  5. # Licensed under the GNU General Public License, Version 3:
  6. # https://www.gnu.org/licenses
  7. # Public project repositories:
  8. # https://github.com/mmgen/mmgen-node-tools
  9. # https://gitlab.com/mmgen/mmgen-node-tools
  10. """
  11. test.cmdtest_d.cfg: configuration data for cmdtest.py
  12. """
  13. cmd_groups_altcoin = []
  14. cmd_groups_dfl = {
  15. 'main': ('CmdTestMain',{}),
  16. 'helpscreens': ('CmdTestHelp',{'modname':'misc','full_data':True}),
  17. 'scripts': ('CmdTestScripts',{'modname':'misc'}),
  18. 'regtest': ('CmdTestRegtest',{}),
  19. }
  20. cmd_groups_extra = {}
  21. cfgs = {
  22. '1': {}, # regtest
  23. '2': {}, # scripts
  24. '3': {}, # main
  25. }
  26. def fixup_cfgs():
  27. import os
  28. for k in cfgs:
  29. cfgs[k]['tmpdir'] = os.path.join('test', 'tmp', str(k))
  30. fixup_cfgs()