Commit graph

30 commits

Author SHA1 Message Date
Joseph Schorr
d0dc8fe45d Add endpoint security tests for the V2 endpoints
Fixes #581
2015-10-02 14:01:12 -04:00
Joseph Schorr
53b096e2f5 Fix test specs for recent change in tags endpoint in V1 2015-10-01 12:48:59 -04:00
Jake Moshenko
3bfec1d7a9 Style fixes. 2015-08-24 11:59:46 -04:00
Jake Moshenko
bea8b9ac53 More changes for registry-v2 in python.
Implement the minimal changes to the local filesystem storage driver and feed them through the distributed storage driver.
Create a digest package which contains digest_tools and checksums.
Fix the tests to use the new v1 endpoint locations.
Fix repository.delete_instance to properly filter the generated queries to avoid most subquery deletes, but still generate them when not explicitly filtered.
2015-07-17 11:50:41 -04:00
Joseph Schorr
805af9338a Fix index test spec 2015-06-22 17:33:32 -04:00
Joseph Schorr
09a1c4d2b5 Add test fix and make sure Quay ups the connection count in its container 2014-08-25 14:23:21 -04:00
Jake Moshenko
78c5aec5b9 Switch the checksums to use the registry computed value, remove all assumptions of namespaced paths for legacy storage, fix an upload race condition in the registry code. 2014-06-11 15:37:45 -04:00
jakedt
302bfb27ae Merge remote-tracking branch 'origin/master' into tagyourit
Conflicts:
	endpoints/api.py
	static/js/app.js
	static/partials/view-repo.html
	test/data/test.db
	test/specs.py
	test/test_api_usage.py
2014-03-26 19:42:29 -04:00
jakedt
c93c62600d Merge remote-tracking branch 'origin/master' into swaggerlikeus
Conflicts:
	data/database.py
	endpoints/api.py
	endpoints/common.py
	templates/base.html
	test/data/test.db
	test/specs.py
2014-03-19 15:39:44 -04:00
jakedt
0c4c4c78c7 Switch the security tests over to the new test format which is generated. 2014-03-18 16:48:09 -04:00
Joseph Schorr
e699739b23 Fix handling of repository names that match known endpoints (build, trigger, etc) and add tests to ensure it is fixed 2014-03-11 14:30:00 -04:00
Joseph Schorr
20ad666308 Add ability to tag images from the UI, including moving existing tags to different images 2014-02-28 00:12:09 -05:00
jakedt
4e713d704f Update the tests for the new build and trigger apis. 2014-02-26 13:45:49 -05:00
yackob03
f5fff3657c Merge remote-tracking branch 'origin/unittesting' 2014-02-06 14:16:34 -05:00
yackob03
1012daf303 Remove the tests for the now removed method: delete all repository tags. 2014-02-06 14:15:59 -05:00
Joseph Schorr
83a34c0ef3 Fix the few broken security tests after the error code fixes 2014-02-03 18:30:06 -05:00
yackob03
31ff854031 Fix the permissions for the build status tests. Fix a problem with logging the csrf token information when the user is anonymous. 2014-01-30 19:36:21 -05:00
yackob03
7412fae9dc Fix the tests to use blueprints. 2014-01-30 19:06:26 -05:00
Joseph Schorr
56bb46ffb2 - Make the discovery information be preloaded via a bootstrap.js file before angular runs
- Have ApiService generate all the api methods specified by the API discovery information
- Change all call sites (except for a select few when it does not make sense) to use ApiService
2013-12-26 17:45:16 -05:00
Joseph Schorr
1904e6d0c8 Change to nicer API method names and add the internal_api_call decorator in prep for the automatic discovery mechanism 2013-12-24 21:56:03 -05:00
yackob03
0b160eba33 Fix some tests. 2013-12-02 16:16:45 -05:00
yackob03
2da0d4ad75 Merge branch 'lumberjack' of ssh://bitbucket.org/yackob03/quay into lumberjack 2013-12-02 15:40:14 -05:00
yackob03
31a6a17c26 Add permissions tests for the webhooks endpoints. 2013-12-02 15:40:12 -05:00
Joseph Schorr
32efd9d635 Add access tests for the logs API 2013-12-02 15:36:39 -05:00
yackob03
52e82cfb10 Change the devtableorg to an org called buynlarge. 2013-11-07 22:43:43 -05:00
yackob03
8a738c2bf9 Add some tests to make sure our docker API is properly respecting auth. 2013-11-07 17:10:57 -05:00
yackob03
1e72644ef8 PEP8 format the test spec. 2013-11-07 13:19:20 -05:00
yackob03
161a6284f0 Refactor the tests to be less ugly. 2013-11-07 12:54:44 -05:00
yackob03
2cd98fc58e Make the app config more powerful in terms of injecting fake dependencies. Refactor the tests to use metaclasses and to actually all run. 2013-11-06 23:21:12 -05:00
yackob03
2a849f631b Add the next batch of tests and fixes. 2013-11-06 17:56:31 -05:00