Vladimir Diaz
a434652143
Edit test repo scripts to exclude target files with leading os.sep
...
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-04-06 11:08:45 -04:00
Vladimir Diaz
25ccb769b5
Add copyright and license to unit test scripts
...
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2017-11-30 13:26:44 -05:00
Vladimir Diaz
33721556ed
Do not generate compressed top-level repository data
2017-08-25 15:59:08 -04:00
Vladimir Diaz
17ea827e76
Add repository data where the client directory is reorganized
2017-02-06 16:14:35 -05:00
Vladimir Diaz
5e22d02b17
Fix import statements for the repository_data tools
2017-01-12 15:23:16 -05:00
Artiom Baloian
b0156944bb
Moved util.py, now it is common
2016-11-02 09:49:37 -04:00
Vladimir Diaz
26016479e9
Add test repository following changes to repository writing and backtracking
2016-09-15 15:19:27 -04:00
Vladimir Diaz
bd5b398ee4
Remove repository.status() (used for testing) from generate.py
2016-06-28 16:54:18 -04:00
Vladimir Diaz
c55f548551
Generate Ed25519 keys for tests/repository_data
2016-06-17 09:54:46 -04:00
Vladimir Diaz
ba0f9ca936
Initial changes for multihash keyid algorithms support on write
2016-06-08 16:49:13 -04:00
Vladimir Diaz
b7cf7e6588
Improve each module's code coverage to at least 90%
...
Update unit tests for download.py, repository_lib.py, repository_tool.py, and updater.py.
Re-generate repository data so that compressed metadata may be tested.
2015-02-11 13:22:46 -05:00
Vladimir Diaz
5d766d3d6f
Review and update docstrings and README.
2014-06-25 09:45:55 -04:00
Vladimir Diaz
337c9f9ffc
Regenerate '/tests/repository_data/' to include example of custom data.
2014-06-24 10:17:14 -04:00
vladdd
f0ac659110
Move optparse import statement.
...
Organize import statements of standard Python and TUF modules into separate blocks.
2014-06-16 13:11:35 -04:00
Santiago Torres
5a097faaf8
Added switches to the generate script
...
Added two switches to the generate script:
-k (or --keys), which forces the creation of new keys.
-d (or --dry-run), which skips the actual writing or copying phases
The second option might be useful in the future, and helped me debug the
optparse module, so I left it there.
2014-06-13 15:33:07 -04:00
Vladimir Diaz
80ad012bc3
Re-generate repository data.
2014-06-03 14:28:46 -04:00
Vladimir Diaz
25e800a59c
Re-generate 'tests/repository_data' to include metadata unix timestamps.
2014-04-15 12:43:12 -04:00
Vladimir Diaz
63afb1e99f
Re-add repository data for the tests.
2014-04-03 08:52:16 -04:00