Commit graph

65 commits

Author SHA1 Message Date
ThomasV
f7212a4732 fix input_script and remove unused method inputs_without_script 2017-03-21 14:33:42 +01:00
ThomasV
c2142ebf26 fix test broken by previous commit 2017-03-21 09:59:48 +01:00
ThomasV
c75e074b88 fix another travis test 2017-03-06 08:44:38 +01:00
ThomasV
9e1931587d fix tests 2017-02-01 10:07:01 +01:00
ThomasV
9ca4e60b84 fix tests 2017-02-01 09:44:25 +01:00
ThomasV
b4d5934da0 testnet: remove failing tests 2017-01-07 18:34:32 +01:00
ThomasV
84f17c2ede fix test 2016-10-16 22:17:52 +02:00
ThomasV
12387c6b62 Merge pull request #1982 from jonathancross/fix-test_transaction
Fixing / commenting out broken tests in test_transaction.py
2016-10-16 15:19:15 +02:00
Jonathan Cross
481a64417e
Fixing final test in test_wallet.py 2016-10-16 13:23:43 +02:00
Jonathan Cross
b503243d0e
Fixing / commenting out tests in test_transaction.py 2016-10-16 13:08:27 +02:00
Jonathan Cross
2c619142f9
Fixing 2 tests in test_mnemonic.py 2016-10-15 19:43:48 +02:00
Jonathan Cross
65f0c25027
Fixing test_bitcoin.py::Test_bitcoin::test_crypto 2016-10-15 19:24:53 +02:00
Jonathan Cross
3de2d9cdbd
Remove broken tests for & classes. 2016-10-15 14:56:31 +02:00
Thomas König
c49202ceaa
fix test_simple_config and test_transaction 2016-08-04 17:21:25 +02:00
ThomasV
774bdcde73 fix test_parse_URI 2016-02-16 10:28:40 +01:00
ThomasV
963dcf0c6b rm test_ripemd 2016-01-26 15:48:34 +01:00
ThomasV
abdb7f8470 fix tests 2016-01-15 18:14:06 +01:00
ThomasV
d867fcc266 update create_main_account in tests 2016-01-07 01:02:44 +01:00
Neil Booth
e1c0298fc2 Write the wallet less often
This should speed up synchronization / restoration of large wallets.
Wallets are written only when they switch to up_to_date state, or
when stop_threads() is called when closing the daemon, or when
a command line command finishes.
2015-12-20 15:47:46 +09:00
ThomasV
f77f63e158 remove failing tests, due to high S in signatures 2015-10-20 13:15:13 +02:00
Neil Booth
12583246ee Fix testcase 2015-09-11 20:17:20 +09:00
Roman Zeyde
a097c47b0b test_transaction: fix test_sweep case 2015-08-31 17:03:59 +03:00
Roman Zeyde
eb66289314 test_transaction: add BCDataStream test case 2015-08-25 15:51:22 +03:00
Roman Zeyde
33b78551a3 test_transaction: add Transaction.sweep() test case 2015-08-25 15:21:44 +03:00
Roman Zeyde
6a7e145053 test_transaction: add test suite for lib.transaction module 2015-08-25 12:05:49 +03:00
Roman Zeyde
3c3d96f69e test_mnemonic: add tests for mnemonics 2015-08-24 17:35:17 +03:00
Roman Zeyde
bb97624de2 test_account: add test case for OldAccount 2015-08-24 10:57:41 +03:00
Roman Zeyde
893849ab39 test_account: add test case for BIP32_Account 2015-08-24 10:57:41 +03:00
Roman Zeyde
a92ca583bd test_interface: fix check_host_name test 2015-08-24 10:02:10 +03:00
Roman Zeyde
ac8e792c58 test_ripemd: add simple test case for ripemd module 2015-08-15 09:52:27 +03:00
Roman Zeyde
fa412c3a86 test_bitcoin: add tests for int packing 2015-08-15 09:41:20 +03:00
Roman Zeyde
175fef2d56 test_bitcoin: add test case for seeds 2015-08-15 09:20:01 +03:00
Roman Zeyde
5fbd7553ed interface: fix check_host_name() pattern matching
The existing pattern matching code:

    val.find('*.') == 0 and name.find(val[1:]) + len(val[1:]) == len(name)

will return True in the following case:

   val = '*.host.com'
   name = 'blah.org'

since string.find() will return -1, len(val[1:]) == 9 and len(name) == 8.
2015-07-26 18:11:30 +03:00
Roman Zeyde
87d3fafa22 util: fix small typo at parse_URI() and update its unittests 2015-07-25 12:41:37 +03:00
ThomasV
a3dd51f476 rm failing test 2015-05-28 15:43:50 +02:00
ThomasV
7becb28ec8 Merge pull request #1246 from kyuupichan/bug_fix
e20dfc unintentionally inverted portable condition
2015-05-25 13:28:42 +02:00
Neil Booth
e63ac88c77 e20dfc unintentionally inverted portable condition
This wasn't noticed because the test was also broken.
2015-05-25 16:59:16 +09:00
Neil Booth
39fe24b4d3 Rename auto_cycle to auto_connect in config
User config is updated if appropriate.
Add tests behaviour is as expected.
Just the one rename-it reference to auto_cycle remains.
2015-05-25 16:18:52 +09:00
Neil Booth
e20dfcd3eb Fix SimpleConfig
SimpleConfig claims to handle configuration options in priority
command line, user config, system config, which makes sense.
In fact it appears it used priority command line, system config,
user config.
Also, from the priority ordering, it would seem correct that a
value should be unmodifiable if and only if it's set on the command
line.  Previously anything in the system config would be unmodifiable.

This patch fixes these and cleans the code up a bit.  I noticed this
whilst attempting to unify the 'auto_cycle' setting.

Fixup tests accordingly.
2015-05-25 15:16:19 +09:00
ThomasV
81be685644 remove tests broken after WalletStorage update 2015-05-11 11:59:39 +02:00
ThomasV
9205a35c22 rm failing test 2015-02-17 15:01:06 +01:00
ThomasV
5262d6ae73 remove wrong test 2015-01-06 18:19:00 +01:00
ThomasV
03e420b1c0 fix tests 2014-09-01 10:49:04 +02:00
ThomasV
f183554446 rm failing tests 2014-08-28 17:48:59 +02:00
ThomasV
c2d175cb60 remove broken tests 2014-08-25 15:55:06 +02:00
ThomasV
ef74ae57ff fix tests 2014-08-25 15:32:21 +02:00
ThomasV
03f4b4c933 fix broken test 2014-08-25 15:11:52 +02:00
ThomasV
9f8e537a7e fix broken test 2014-08-25 14:16:31 +02:00
Chris Glass
73ee95ec9a Removed failing test for now
As discussed on IRC, it might be too early to write this test since the
behavior is not entirely defined yet.
2014-07-09 11:04:49 +02:00
Chris Glass
a9592459ed Add tests to the wallet.py module.
This increases test coverage a lot.
2014-07-09 11:03:44 +02:00