Commit Graph

4 Commits

Author SHA1 Message Date
davide 5c406683b8 tests: use config.path instead of electrum_path for network-aware test dirs
SimpleConfig.path differs from electrum_path when the active network has a
subdirectory (e.g. BitcoinPurple mainnet). Tests that wrote directly to
electrum_path were resolving the wrong directory; use config.path consistently.
Also reorder setUp() so config is created before any path-dependent operations
2026-05-05 09:45:09 +02:00
SomberNight 02c6e118f0 tests: test_network: intro MockBlockchain. rewrite tests to use it.
interface.py no longer has knowledge about mocking! :P
2025-06-09 19:34:34 +00:00
SomberNight 1257f21b1b constants: rm set_testnet/set_mainnet fns with AbstractNet.set_as_network 2024-09-16 15:27:45 +00:00
Sander van Grieken 73fee69f5c tests: move /electrum/tests to /tests 2024-02-16 15:40:45 +01:00