|
|
|
|
@ -64,13 +64,6 @@ class TestWalletStorage(WalletTestCase):
|
|
|
|
|
storage = WalletStorage(self.fake_config) |
|
|
|
|
self.assertEqual(path, storage.path) |
|
|
|
|
|
|
|
|
|
def test_init_wallet_default_wallet_path(self): |
|
|
|
|
path = os.path.join(self.user_dir, "somewallet") |
|
|
|
|
self.fake_config.set("default_wallet_path", path) |
|
|
|
|
|
|
|
|
|
storage = WalletStorage(self.fake_config) |
|
|
|
|
self.assertEqual(path, storage.path) |
|
|
|
|
|
|
|
|
|
def test_read_dictionnary_from_file(self): |
|
|
|
|
path = os.path.join(self.user_dir, "somewallet") |
|
|
|
|
self.fake_config.set("wallet_path", path) |
|
|
|
|
|