Roman Zeyde
a097c47b0b
test_transaction: fix test_sweep case
9 years ago
Roman Zeyde
eb66289314
test_transaction: add BCDataStream test case
9 years ago
Roman Zeyde
33b78551a3
test_transaction: add Transaction.sweep() test case
9 years ago
Roman Zeyde
6a7e145053
test_transaction: add test suite for lib.transaction module
9 years ago
Roman Zeyde
3c3d96f69e
test_mnemonic: add tests for mnemonics
10 years ago
Roman Zeyde
bb97624de2
test_account: add test case for OldAccount
9 years ago
Roman Zeyde
893849ab39
test_account: add test case for BIP32_Account
9 years ago
Roman Zeyde
a92ca583bd
test_interface: fix check_host_name test
9 years ago
Roman Zeyde
ac8e792c58
test_ripemd: add simple test case for ripemd module
10 years ago
Roman Zeyde
fa412c3a86
test_bitcoin: add tests for int packing
10 years ago
Roman Zeyde
175fef2d56
test_bitcoin: add test case for seeds
10 years ago
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.
10 years ago
Roman Zeyde
87d3fafa22
util: fix small typo at parse_URI() and update its unittests
10 years ago
ThomasV
a3dd51f476
rm failing test
10 years ago
Neil Booth
e63ac88c77
e20dfc unintentionally inverted portable condition
This wasn't noticed because the test was also broken.
10 years ago
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.
10 years ago
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.
10 years ago
ThomasV
81be685644
remove tests broken after WalletStorage update
10 years ago
ThomasV
9205a35c22
rm failing test
10 years ago
ThomasV
5262d6ae73
remove wrong test
10 years ago
ThomasV
03e420b1c0
fix tests
10 years ago
ThomasV
f183554446
rm failing tests
10 years ago
ThomasV
c2d175cb60
remove broken tests
11 years ago
ThomasV
ef74ae57ff
fix tests
11 years ago
ThomasV
03f4b4c933
fix broken test
11 years ago
ThomasV
9f8e537a7e
fix broken test
11 years ago
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.
11 years ago
Chris Glass
a9592459ed
Add tests to the wallet.py module.
This increases test coverage a lot.
11 years ago
Michael Wozniak
09154fdf20
Shouldn't redo URI encoding
11 years ago
Michael Wozniak
8ad7a5a085
Update tests and fix URI parsing
Update URI parsing for BIP0072 compatability
Update tests for parse_URI
11 years ago
Chris Glass
0ac02bf040
Made all bip32 primitives testnet compatible.
11 years ago
Chris Glass
b2f8d507de
Fixed docstrings
11 years ago
Chris Glass
99a31b0c6a
Fixes previously introduced bug
The passed in command line options were saved to the user config.
11 years ago
Chris Glass
34f0a65c49
Added more tests for user config parsing.
11 years ago
Chris Glass
ad3640d7a4
Added tests for the system config function.
11 years ago
Chris Glass
5eeae69425
Added more tests for edge cases.
11 years ago
Chris Glass
fff3ed9b77
Added a lot of tests for SimpleConfig
Refactored the SImpleConfig class a lot to make sure the behavior is
always defined.
11 years ago
Chris Glass
af5a0eba33
Added mnemonic to seed tests
11 years ago
Chris Glass
4675ea5321
Added util test file
11 years ago
Chris Glass
bc98223188
Added more bitcoin tests
11 years ago
Chris Glass
9dc814ec8c
Made _do_test_crypto private to allow nosetests
11 years ago
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.
11 years ago
Chris Glass
73c33820db
Moved bitcoin.py tests to their own file
This allows standard python testing tools to discover and run them.
11 years ago