vladdd
45af91191a
Update docstrings and comments in keys.py
...
Configurable crypto changes previously implemented but the docstrings and comments of keys.py still needed updating. Minor edit to test_keys.py and a note added about a missing test case.
2013-10-18 14:01:51 -04:00
vladdd
760cd62d4e
Rename functions in keys.py and update test_keys.py
...
create_in_metadata_format --> format_keyval_to_metadata
create_from_metadata_format --> format_metadata_to_key
2013-10-17 14:05:26 -04:00
vladdd
05f7826b59
Update test_pycrypto_keys.py after pycrypto_keys.py changes
2013-10-17 13:01:32 -04:00
vladdd
7e593963a9
Complete test_verify_signature() in test_ed25519_keys.py
2013-10-14 08:41:38 -04:00
vladdd
7e948f342c
Add initial test_ed25519_keys.py
...
test_verify_signature() incomplete.
2013-10-11 13:01:46 -04:00
vladdd
81a15147b2
Add remaining test cases in test_pycrypto_keys.py
2013-10-11 10:15:09 -04:00
vladdd
2f61272c28
Update test cases moved over to test_pycrypto_keys.py
...
test cases updated with configurable crypto changes.
2013-10-11 09:07:25 -04:00
vladdd
ac6dade0dc
Move test cases to test_pycrypto_keys.py
2013-10-10 14:56:56 -04:00
vladdd
a091b1f84b
Add test_keys.py and update keys.py
2013-10-10 14:01:55 -04:00
vladdd
31d603c710
Update all unit tests affected by configurable crypto
...
Add separate 'tuf.conf.py' options for key types.
2013-10-10 12:19:46 -04:00
vladdd
e848dac0f3
test_slow_retrieval_attack.py: Python 3 compatability
...
Fixed indentation and outdated comment.
2013-09-23 21:23:26 -04:00
vladdd
fc08f5181b
test_replay_attack.py: Python 3 compatability
...
Also fix indentation.
2013-09-23 21:18:52 -04:00
vladdd
f62ed3a019
test_mix_and_match_attack.py: Python 3 compatability
2013-09-23 21:16:55 -04:00
vladdd
7c882b70c7
test_indefinite_freeze_attack.py: Python 3 compatability
2013-09-23 21:13:34 -04:00
vladdd
2f32ea9424
test_extraneous_dependencies_attack.py: python 3 compatability
...
Also fix print statements.
2013-09-23 21:07:35 -04:00
vladdd
67b886d5e0
test_endless_data_attack.py: Fix indentation
...
Also help with Python 3 compatability.
2013-09-23 21:02:17 -04:00
vladdd
3f41b96f7f
Fix extraneous new lines in test_delegations.py
2013-09-23 20:55:34 -04:00
vladdd
0a94661d99
Fix print statements and help with python 3 compatability
...
test_arbitrary_package_attack.py.
2013-09-23 20:52:16 -04:00
vladdd
7d691011e5
Resolve conflicts from demo 2 updates
2013-09-23 13:38:18 -04:00
dachshund
b0e328be53
Fix replay attack integration test.
...
Merge remote-tracking branch 'origin/demo2' into demo2
Conflicts:
tests/integration/test_replay_attack.py
2013-09-17 23:02:17 -04:00
dachshund
4e42a091a2
Fix replay attack integration test.
2013-09-17 22:59:26 -04:00
vladdd
b17b53112c
Resolve merge conflicts
2013-09-17 21:10:51 -04:00
vladdd
81831b861e
Merge branch 'demo2' of https://github.com/theupdateframework/tuf into demo2
2013-09-17 20:23:11 -04:00
vladdd
98ae4a6d68
Fix docstring indentation in test_arbitrary_package_attack.py
2013-09-17 20:20:55 -04:00
dachshund
91aff1c420
Merge #108 .
2013-09-17 20:02:54 -04:00
dachshund
61be096ad9
Merge branch 'demo2' of https://github.com/zhengyuyu/tuf into zhengyuyu-demo2
2013-09-17 19:38:26 -04:00
ttgump
0f71b7604d
fix of connection refused
2013-09-16 11:12:18 -04:00
ttgump
c393507fcd
fetch upstream
2013-09-16 10:57:23 -04:00
vladimir-v-diaz
cc0d7f9e89
Update test_util_test_tools.py following change to util_test_tools.init_repo()
...
A util_test_tools.init_repo() parameter name was changed from 'tuf' to 'using_tuf', however, test_util_test_tools was not updated following the name change.
2013-09-16 09:09:40 -04:00
zanefisher
0fd5e36909
Clean up after botched merge (oops). Add try/finally to endless data test to ensure temp files are always removed.
2013-09-14 16:58:01 -04:00
ttgump
c74a2d495f
util_test_tools.init_repo parameter fix
2013-09-14 15:46:25 -04:00
ttgump
a688a6d06f
indention fix
2013-09-14 12:34:01 -07:00
ttgump
2fc73dd468
Merge remote-tracking branch 'origin/demo2' into demo2
2013-09-14 12:31:15 -07:00
ttgump
384626cff9
test_mix_and_match_attack and test_indefinite_freeze_attack refactory fix
2013-09-13 19:14:32 -04:00
zanefisher
4a08c0c25e
Redo accidentally undone changes.
2013-09-13 18:52:47 -04:00
zhengyuyu
ccbaa6fab4
Fix test_delegations.py
...
Made changes that ensure it raises correct exception based on the refactored version of updater.py and download.py
2013-09-13 18:38:52 -04:00
dachshund
b5263e4322
Fix variable shadow bug, use absolute import in two integration tests.
2013-09-13 17:39:57 -04:00
zanefisher
502a0102ec
More integration test tidying-up
2013-09-13 17:39:29 -04:00
zanefisher
f4eedf1d62
Rename boolean perameter 'TUF' to 'using_tuf' in every test.
2013-09-13 15:30:11 -04:00
zanefisher
419b1dc24e
Merge remote-tracking branch 'upstream/demo2' into demo2
2013-09-13 13:39:44 -04:00
zanefisher
32427505ac
Clean up extraneous dependencies test following Vlad's review.
2013-09-13 13:38:50 -04:00
vladdd
83ac535d32
Fix test_updater.py test case failure
...
Rebuild server repository in test_5_all_targets() - other test cases may not have properly restored the contents of the repository.
2013-09-13 09:54:10 -04:00
zanefisher
4f8054755c
Merge remote-tracking branch 'upstream/demo2' into demo2
2013-09-12 14:54:25 -04:00
zanefisher
a5692a1441
Update extraneous dependecies test to expect the new NoWorkingMirrorError.
2013-09-12 14:53:57 -04:00
vladdd
b89d6fb853
Update test_keystore.py following .key format and keystore changes
2013-09-12 13:02:54 -04:00
vladdd
dc146f97a1
Fix test_util_test_tools.py test case failure
...
Clear the keystore before initializing the util_test_tools.py repository and again after every test case exits.
2013-09-12 08:14:18 -04:00
vladdd
3111c22c63
Fix test_util_test_tools.py test case failure
...
Clear the keystore before initializing the util_test_tools.py repository and again after every test case exits.
2013-09-12 08:14:18 -04:00
vladdd
a749c1d6bf
Fix test_keystore.py unit test failure
...
Ensure the keystore is empty prior to running the test cases. The courtesy bug is spreading.
2013-09-11 13:33:28 -04:00
vladdd
a1132af5af
Fix test_keystore.py unit test failure
...
Ensure the keystore is empty prior to running the test cases. The courtesy bug is spreading.
2013-09-11 13:33:28 -04:00
vladdd
b7d86eca36
Fix unit test failure in test_roledb.py
...
Ensure roledb is empty prior to running the test cases. roledb.py may have been modified by other unit tests that did not properly clean up.
2013-09-11 12:36:44 -04:00