Commit graph

26 commits

Author SHA1 Message Date
Sebastien Awwad
46b584d8eb
Test: try download.py through via various proxies
- adds inaz2/proxy2.py, copied code.
- adds dev dependency on twisted for a simple proxy test
- adds a new test module, test_proxy_use, and runs those tests only in
Python2.7 (as proxy2 only supports Python2.7) using new logic in
aggregate_tests.py.

Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
2018-09-21 13:13:45 -04:00
Vladimir Diaz
229009c870
Try to run all of the unit tests in aggregate_tests.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-05-02 17:04:39 -04:00
Vladimir Diaz
eae79a5642
Test only test_download.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-05-02 16:46:20 -04:00
Vladimir Diaz
a91f81c017
Test only test_exceptions.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-05-02 16:43:53 -04:00
Vladimir Diaz
ccf56c06a7
Test only test_developer_tool.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-05-02 16:40:10 -04:00
Vladimir Diaz
b4d726c514
Test only the attack unit tests
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-05-02 16:26:57 -04:00
Vladimir Diaz
dc5f3ec753
Test only the integration tests
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-05-02 16:19:15 -04:00
Vladimir Diaz
a1ab4bb620
Load only test_updater.py in aggregate_tests.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-05-02 16:14:04 -04:00
Vladimir Diaz
fae3453c49
Test unit tests that uses subprocess
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-05-02 16:09:59 -04:00
Vladimir Diaz
74837951fa
Test only test_sig.py in aggregate_tests.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-05-02 16:06:47 -04:00
Vladimir Diaz
321fbcd0cd
Test sys.exit(0) after loading tests
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-05-02 15:42:18 -04:00
Vladimir Diaz
0c0cf36bd1
Test whether the sys.exit() are being called in aggregate_tests.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-05-02 14:12:36 -04:00
Vladimir Diaz
e9c81b1271
Try adding explicit sys.exit(0) to aggregate_tests.py
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-05-02 11:28:20 -04:00
Vladimir Diaz
8f65fa4154
Rename license files in modules
Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
2018-02-05 11:31:19 -05: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
72d7ebfd8d
Remove py26 conditional import statements 2017-09-21 17:16:29 -04:00
Vladimir Diaz
6080a4f3b3 Remove simple-settings dependency from aggregate_tests.py 2017-01-12 15:20:03 -05:00
Artiom Baloian
b793c81739 Added simple_settings, now it is a requirement of TuF.
Rename conf.py into the settings.py an changed import call.
2016-11-01 15:38:40 -04:00
Artiom Baloian
b07d9a5d0f Move some part of tufformats into the common formats 2016-10-31 19:04:14 -04:00
Vladimir Diaz
ddec8ab44a Update aggregate_tests.py
Decrease the verbosity of the test runner so that only test failures are shown.
2016-01-21 13:25:58 -05:00
Vladimir Diaz
c97d9a022d Force build failure if any of the unit tests fail 2015-04-27 18:32:09 -04:00
vladdd
17b230abdd Support Python 2.6. 2014-06-06 18:57:23 -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
60cfb7e054 Edit aggregate_tests.py comment. 2014-04-20 16:19:56 -04:00
vladdd
08a2bad2c0 Add Travis CI, coveralls, and coverage-related updates. 2014-04-20 16:15:19 -04:00
vladdd
5f94d5be0d Support ISO 8601, vendor iso8601, clean codebase. 2014-04-19 14:27:53 -04:00
Renamed from tests/unit/aggregate_tests.py (Browse further)