Commit graph

49 commits

Author SHA1 Message Date
dachshund
e00a3549ce Adjust tests.test_signercli to use list of roles. 2013-06-21 12:32:51 +08:00
dachshund
a8380e4768 Export tuf.tests; mock recursive walk in signercli.py. 2013-06-20 21:32:49 +08:00
dachshund
4ab7d12998 Update tuf.formats.TARGET_SCHEMA and adjust tests.test_formats.py. 2013-06-20 20:43:24 +08:00
dachshund
03348f2dbb Introduce name property for tuf.formats.ROLE_SCHEMA. 2013-06-20 19:56:34 +08:00
Kon
f7ebbffd0b Added test_pushtoolslib.py and test_push.py. 2013-04-28 23:18:41 -04:00
Kon
09fa5a0f82 Modified pushtoolslib.py and util_test_tools.py. 2013-04-28 23:16:36 -04:00
Kon
8ba1beb6c8 Cleaned-up test_mix_and_match_attack.py. 2013-04-13 16:05:49 -04:00
Kon
f46b1f71ea Added mix-and-match attack test and statement_coverage (based on coverage.py). 2013-04-13 12:56:10 -04:00
dachshund
eefc1ecf14 Fix #54. 2013-04-08 23:43:05 -04:00
Kon
4a6490723e Adding tests: test_indefinite_freeze_attack.py, test_slow_retrieval_attack.py 2013-04-02 14:02:15 -04:00
Kon
c6b98bc4d3 Few small changes to test_extraneous_dependencies_attack.py 2013-04-02 06:54:25 -04:00
Kon
3b253d6496 Completed test_extraneous_dependencies_attack.py, changes to updater.py need to be reviewed. 2013-03-27 10:58:54 -04:00
dachshund
83fd9bed24 Merge branch 'master' into interposition 2013-03-19 01:14:15 -04:00
vladdd
afb3f86ec6 Fix test condition for issue #37 2013-03-16 17:13:31 -04:00
vladdd
4785d2a196 Add test condition for issue #24 2013-03-16 17:08:25 -04:00
Kon
3121421c03 Modified a bunch of system wide test cases. 2013-03-15 13:11:07 -04:00
Kon
efe2a8518b Added some more tests - work in progress. 2013-03-14 16:48:36 -04:00
Kon
5f492b65de Added slow_retrieval_server.py, and modified few tests. 2013-03-12 14:28:13 -04:00
dachshund
ab3c03741a Merge with master. 2013-03-06 12:41:37 -05:00
Kon
a3f988aea4 Modified test_extraneous_dependencies_attack.py. 2013-03-06 11:10:51 -05:00
Kon
eeb0383376 Added test_extraneous_dependencies_attack.py 2013-03-06 08:00:03 -05:00
vladdd
183588542b Add aggregate_tests.py and proper restoration of monkey patched functions to allow aggregated test suites. unittest_toolbox.py will need further changes if we decide to provide support for 'unittest discover'. 2013-03-04 23:11:34 -05:00
dachshund
033a573819 Paranoid checks of configurations in order to prevent interposition cycles. 2013-03-04 13:01:52 -05:00
Kon
b80da3b169 Minor change to test_replay_attack.py. 2013-03-03 05:12:09 -05:00
Kon
c0d5d2cbb5 Modified test_replay_attack.py, util_test_tools.py and test_util_test_tools.py. 2013-03-03 03:47:36 -05:00
vladdd
af47dd3b84 Add test conditions to the _list_keyids test case of test_signercli.py that check for invalid metadata exceptions. 2013-02-28 18:19:26 -05:00
Kon
5d803d683c Refactored and renamed test_system_setup.py to util_test_tools.py, refactored test_replay_attack.py, created test_unit_test_tools.py 2013-02-28 18:03:59 -05:00
vladdd
8a54a7616b Modify signercli.py to include the associated roles of each keyid listed from the keystore, and update test_signercli.py. Update signerlib.py to fix two incorrectly typed exception names. 2013-02-28 09:40:59 -05:00
vladdd
4c27a9b30f Modified signercli.py to allow threshold values greater than 1 for delegated roles. Updated affected test_signercli.py. Modified keystore.py so an exception is not raised for keys already loaded while loading from key files. 2013-02-27 12:41:53 -05:00
vladdd
dce21e4089 Modified the exception raised on invalid 'file_type' in mirrors.py. Updated test_mirrors.py to test for the changed exception raised 2013-02-27 12:33:34 -05:00
Kon
7f2f6b0f55 Refactored test_replay_attack.py, test_system_setup.py. Added replay_attack_setup.py. 2013-02-24 18:29:54 -05:00
Kon
e7c4352177 Removed doc duplicate and an obsolete test module. 2013-02-23 11:15:16 -05:00
Kon
bb059cd17e Refactored test_replay_attack.py, changes to test_system_setup.py and renamed one of the docs. 2013-02-23 11:08:35 -05:00
Kon
765aafe831 Modified test_system_setup.py and test_rollback_attack.py. 2013-02-23 02:01:38 -05:00
Kon
3217690d02 Added test_rollback_attack.py. 2013-02-22 21:53:14 -05:00
Kon
edc58bece6 Adding test_rollback_attack.py. 2013-02-22 18:45:53 -05:00
Kon
89806d3920 Few changes to test_systemp_setup.py. 2013-02-21 19:27:07 -05:00
Kon
db430d87f3 Added few more methods to test_system_setup.py and some stylistic changes to signercli.py. 2013-02-21 16:16:51 -05:00
Kon
bebdab3cb5 test_system_setup.py is complete. Few minor stylistic changes were made to download.py and signercli.py. 2013-02-21 03:36:58 -05:00
Kon
4bf56c8fa1 Started TUF system test. Prepared test fixtures. 2013-02-20 11:18:21 -05:00
vladdd
de56a2c970 Convert print statements to logger.info() and disable the logger in the test modules. Modify a few test cases in test_signercli.py that incorrectly compare SIGNABLE objects. 2013-02-15 22:51:13 -05:00
vladdd
f0055fa4c9 Validate arguments in schema definitions. 2013-02-13 20:01:42 -05:00
vladdd
d2a799f73f Update affected module following review of util.py and test_util.py. 2013-02-13 10:57:01 -05:00
Kon
5ab806f987 Few minor changes to schema, test_schema and test_formats modules 2013-02-12 13:21:03 -05:00
Kon
8970df19ca Review of schema modules [in progress]. 2013-02-12 05:36:34 -05:00
Kon
7dec94b4e6 Stylistic changes to test_util.py and test_mirrors.py. 2013-02-12 01:59:59 -05:00
vladdd
a38aa4a9a0 Update download.py, mirrors.py, and test_download.py following review. 2013-02-11 22:38:01 -05:00
vladdd
789639f342 Merge branch 'master' of https://github.com/akonst/tuf 2013-02-10 21:40:15 -05:00
vladdd
abf0349b05 Move all files up one directory from 'src/'. 2013-02-10 21:38:06 -05:00