Commit Graph

31 Commits

Author SHA1 Message Date
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
Michael Wozniak 09154fdf20 Shouldn't redo URI encoding 2014-06-30 11:10:50 -04:00
Michael Wozniak 8ad7a5a085 Update tests and fix URI parsing
Update URI parsing for BIP0072 compatability
Update tests for parse_URI
2014-06-30 10:41:12 -04:00
Chris Glass 0ac02bf040 Made all bip32 primitives testnet compatible. 2014-06-27 15:44:43 +02:00
Chris Glass b2f8d507de Fixed docstrings 2014-06-26 13:24:14 +02:00
Chris Glass 99a31b0c6a Fixes previously introduced bug
The passed in command line options were saved to the user config.
2014-06-26 13:22:02 +02:00
Chris Glass 34f0a65c49 Added more tests for user config parsing. 2014-06-26 11:08:13 +02:00
Chris Glass ad3640d7a4 Added tests for the system config function. 2014-06-26 10:08:00 +02:00
Chris Glass 5eeae69425 Added more tests for edge cases. 2014-06-25 18:04:37 +02:00
Chris Glass fff3ed9b77 Added a lot of tests for SimpleConfig
Refactored the SImpleConfig class a lot to make sure the behavior is
always defined.
2014-06-25 17:34:51 +02:00
Chris Glass af5a0eba33 Added mnemonic to seed tests 2014-06-25 11:21:39 +02:00
Chris Glass 4675ea5321 Added util test file 2014-06-25 10:50:21 +02:00
Chris Glass bc98223188 Added more bitcoin tests 2014-06-25 10:39:50 +02:00
Chris Glass 9dc814ec8c Made _do_test_crypto private to allow nosetests 2014-06-25 08:45:37 +02:00
Chris Glass 413945435a Added private/public key tests
Including converting from a private key to a public key, and
deriving the primary address from a private key.
2014-06-25 08:27:45 +02:00
Chris Glass 73c33820db Moved bitcoin.py tests to their own file
This allows standard python testing tools to discover and run them.
2014-06-25 07:35:49 +02:00