Commit graph

20 commits

Author SHA1 Message Date
Vladimir Diaz
ae4bbfdbfc Remove tuf.Error exception raised in create_keydb_from_root_metadata()
To simplify the addition of keys to keydb, add all of the valid keyids to keydb in the for loop instead of adding the default keyid separately
2016-07-27 16:33:35 -04:00
Vladimir Diaz
e0a4f18223 Improve code coverage 2016-07-21 10:28:46 -04:00
Vladimir Diaz
596969ab2e Improve code coverage of keydb.py and util.py 2016-07-19 08:06:53 -04:00
Vladimir Diaz
a59008cf2b Use the 'clear_all' argument with clear_roledb.py and clear_keydb.py 2016-07-15 15:24:45 -04:00
Vladimir Diaz
1c72cb2c20 Add 'clear_all' argument to clear_keydb() in keydb.py 2016-07-15 13:47:46 -04:00
Vladimir Diaz
70cc1b8abd Clear roledb and keydb of 'test_repository' entries after each test case 2016-07-11 13:53:16 -04:00
Vladimir Diaz
80c3022edf Fix mismatched key objects in test_keydb.py 2016-07-01 15:09:58 -04:00
Vladimir Diaz
99062dc27a Minor edit to comment in test_keydb.py 2016-05-11 16:55:52 -04:00
Vladimir Diaz
9d57139aee Implement remaining test functions for keydb.py 2016-05-09 16:31:37 -04:00
Vladimir Diaz
aa62fc5862 Verify the 'repository_name' argument in test_clear_keydb() 2016-05-09 15:10:42 -04:00
Vladimir Diaz
decfa5558e Expand test conditions in test_keydb.py to verify named repositories 2016-05-09 14:19:53 -04:00
Vladimir Diaz
223993c43e Update test_keydb.py following refactoring of keydb.py
keydb.py was refactored to allow multiple sets of keys to be tracked
2016-05-06 17:33:18 -04:00
Vladimir Diaz
4cb851ca0a Fix remaining issues with unit tests after implementing version numbers in snapshot.json 2015-10-27 16:11:11 -04:00
Vladimir Diaz
3eb8f10710 More coverage improvements 2015-03-02 15:10:27 -05:00
Vladimir Diaz
fbb10a36c9 Refactor repository_tool.py and improve test coverage.
Created repository_lib.py.
2014-06-03 14:32:44 -04:00
vladdd
c5fd17ab3e Merge branch 'develop' of https://github.com/theupdateframework/tuf into develop
Conflicts:
	tests/test_hash.py
	tests/test_keydb.py
	tuf/formats.py
	tuf/keydb.py
	tuf/repository_tool.py
2014-05-10 20:26:06 -04:00
Vladimir Diaz
d831187949 Improve test coverage. 2014-05-01 12:59:34 -04:00
Vladimir Diaz
ab95a4b3aa [WIP] Python 2+3 support.
Python 2+3 unicode.
libraries.
The following modules (and their tests) work in PY2.7+3.3:
keydb, hash, formats, mirrors
2014-04-29 14:27:34 -04:00
vladdd
5d3664e5a4 [WIP] Python 2+3 support.
maxint and minor additions.
2014-04-28 23:21:16 -04:00
vladdd
5f94d5be0d Support ISO 8601, vendor iso8601, clean codebase. 2014-04-19 14:27:53 -04:00
Renamed from tests/unit/test_keydb.py (Browse further)