1
0

config: enforce that SimpleConfig is singleton

related: #5629
This commit is contained in:
SomberNight
2019-09-10 18:01:10 +02:00
parent a43be6657d
commit b2920db8b8
9 changed files with 33 additions and 25 deletions

View File

@@ -2,6 +2,7 @@ import unittest
import threading
from electrum import constants
from electrum import simple_config
# Set this locally to make the test suite run faster.
@@ -11,6 +12,9 @@ from electrum import constants
FAST_TESTS = False
simple_config._ENFORCE_SIMPLECONFIG_SINGLETON = False
# some unit tests are modifying globals; sorry.
class SequentialTestCase(unittest.TestCase):