Commit graph

68 commits

Author SHA1 Message Date
Vladimir Diaz
9d2a5e2927 Minor edit to comment in test_indefinite_freeze_attack.py. 2014-04-03 12:35:16 -04:00
Vladimir Diaz
053e2b0ebe Update test_indefinite_freeze_attack.py
Minor edit to comment.
Disable console log messages enabled by the repository tool, which this unit tests needs.
Sleep for at least 1 minute before checking for an expired metadata error, and ensure the function supplied to self.assertraises() is a callable.
2014-04-03 12:30:43 -04:00
Vladimir Diaz
b52194cdf4 Refactor test_endless_data_attack.py
Refactored 'test_endless_data_attack.py' to use the 'unittest' module (test
conditions in code, rather than verifying text output), use pre-generated
repository files, and discontinue use of the old repository tools. Minor
edits to the test cases.
2014-04-03 11:59:50 -04:00
Vladimir Diaz
c44c7de280 Merge branch 'develop' of https://github.com/theupdateframework/tuf into refactor_test_indefinite_freeze_attack 2014-04-03 08:48:57 -04:00
Vladimir Diaz
92905345e4 Minor edits to comments. 2014-04-02 11:50:48 -04:00
Vladimir Diaz
1ca98367d6 Initial refactor of test_indefinite_freeze_attack.py 2014-04-01 15:30:59 -04:00
Vladimir Diaz
b7047f7ea2 Edit comments and minor code cleanup.
Edit test_arbitrary_package_attack.py
2014-04-01 08:33:23 -04:00
vladdd
55941d7551 Refactor test_arbitrary_package_attack.
Refactored to use the 'unittest' module (test conditions in code, rather
than verifying text output), use pre-generated repository files, and
discontinue use of the old repository tools.  Fix for issue #111.
2014-03-31 18:28:54 -04:00
vladdd
75c7ea5138 Update test_extraneous_dependencies_attack.py.
Remove text inserted and improperly removed from a previous merge conflict.
2014-02-03 12:45:17 -05:00
Vladimir Diaz
009ddd9f37 Rename top-level role and functions of repository_tool.py. Update documentation and diagram.
add_key() -> add_verification_key()
remove_key() -> remove_verification_key()
release.json -> snapshot.json
Update repository_tool-diagram.png
Update README following the renamed functions and release role changes.
Minor edits, such as removing lint left over from a previous merge conflict.
2014-01-29 11:26:56 -05:00
Vladimir Diaz
3b5e0c0814 Merge 'develop' and resolve conflicts. 2014-01-27 13:35:11 -05:00
Vladimir Diaz
d380997b75 Minor edits, merge, and resolve conflicts. 2014-01-27 13:15:03 -05:00
zanefisher
43eb5633c4 Modify test code following review from Vladimir 2014-01-07 14:20:20 -05:00
zanefisher
c941eda8d2 Changes following Santiago\'s review. 2013-10-04 14:00:36 -04:00
zanefisher
0b9d2e223f Python 3 compatibility for arbitrary package and etraneous dependency tests. 2013-10-02 13:03:52 -04:00
zanefisher
b2ac2e82f2 Remove unnecessary import from extraneous dependencies test. 2013-09-30 14:52:37 -04:00
zanefisher
eca682a58a Add case for BadSignatureError to arbitrary package and extraneous dependencies tests. 2013-09-30 13:20:09 -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
d9e952ef5b 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
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
7eb834ab84 Fix replay attack integration test. 2013-09-17 22:59:26 -04:00
dachshund
4e42a091a2 Fix replay attack integration test. 2013-09-17 22:59:26 -04:00
vladdd
c2689280b0 Resolve merge conflicts 2013-09-17 21:10:51 -04:00
vladdd
b17b53112c Resolve merge conflicts 2013-09-17 21:10:51 -04:00
vladdd
ac2e7b5e15 Merge branch 'demo2' of https://github.com/theupdateframework/tuf into demo2 2013-09-17 20:23:11 -04:00
vladdd
81831b861e Merge branch 'demo2' of https://github.com/theupdateframework/tuf into demo2 2013-09-17 20:23:11 -04:00
vladdd
071190d18b Fix docstring indentation in test_arbitrary_package_attack.py 2013-09-17 20:20:55 -04:00
vladdd
98ae4a6d68 Fix docstring indentation in test_arbitrary_package_attack.py 2013-09-17 20:20:55 -04:00
dachshund
76326f82d1 Merge #108. 2013-09-17 20:02:54 -04:00
dachshund
91aff1c420 Merge #108. 2013-09-17 20:02:54 -04:00
ttgump
017c9a378f fix of connection refused 2013-09-16 11:12:18 -04:00
ttgump
0f71b7604d fix of connection refused 2013-09-16 11:12:18 -04:00
zanefisher
f3a8f60583 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
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
4c2f878870 util_test_tools.init_repo parameter fix 2013-09-14 15:46:25 -04:00
ttgump
c74a2d495f util_test_tools.init_repo parameter fix 2013-09-14 15:46:25 -04:00
ttgump
cd805e528d indention fix 2013-09-14 12:34:01 -07:00
ttgump
a688a6d06f indention fix 2013-09-14 12:34:01 -07:00
ttgump
dccd5fc7df Merge remote-tracking branch 'origin/demo2' into demo2 2013-09-14 12:31:15 -07:00
ttgump
2fc73dd468 Merge remote-tracking branch 'origin/demo2' into demo2 2013-09-14 12:31:15 -07:00
ttgump
3cf472757a test_mix_and_match_attack and test_indefinite_freeze_attack refactory fix 2013-09-13 19:14:32 -04:00
ttgump
384626cff9 test_mix_and_match_attack and test_indefinite_freeze_attack refactory fix 2013-09-13 19:14:32 -04:00