Pierre-Yves Chibon
|
9452419ba0
Make the binary file really binary
|
9 years ago |
Pierre-Yves Chibon
|
564e632ef3
Globally prevent sending email in the tests
|
9 years ago |
Pierre-Yves Chibon
|
e1ff5c61fb
Drop the call to create_acls and update the acl identifier for the new ones
|
9 years ago |
Pierre-Yves Chibon
|
973fb9567e
Put the default ACLs for the token in the database for the tests
|
9 years ago |
Pierre-Yves Chibon
|
1c965f382e
Create the releases folder for all the tests
|
9 years ago |
Pierre-Yves Chibon
|
c2fe6fe9c8
Query faitout by its domain name instead of its IP
|
9 years ago |
Pierre-Yves Chibon
|
27a73daf1e
Adjust the unit-tests to rely on PagureRepo.push() as well
|
9 years ago |
Pierre-Yves Chibon
|
97a6d19fa2
Unit-tests also need to be adjusted for pygit2 0.22
|
9 years ago |
Pierre-Yves Chibon
|
631c331f86
Make the token_id a keyword argument in create_tokens_acl
|
9 years ago |
Pierre-Yves Chibon
|
128dfbe33a
Move the tests to run on bare repo since that's what we use in prod
|
9 years ago |
Pierre-Yves Chibon
|
e18f81eefa
Add unit-tests for the API endpoint: api_pull_request_add_flag
|
9 years ago |
Pierre-Yves Chibon
|
b0400aac5d
Adjust the token ACL to be issue_* and pull_request_*
|
9 years ago |
Pierre-Yves Chibon
|
b0785b6e01
Ensure the new ACLs is associated with the test token
|
9 years ago |
Pierre-Yves Chibon
|
29ee20fd68
More ACLs to the token used in the tests
|
9 years ago |
Pierre-Yves Chibon
|
9ba77be21f
Add unit-tests for the api_pull_request_add_comment endpoint
|
9 years ago |
Pierre-Yves Chibon
|
fc6bd47bf4
Add unit-tests for the api_comment_issue endpoint
|
9 years ago |
Pierre-Yves Chibon
|
41e184c51b
Expand the ACLs the test token has
|
9 years ago |
Pierre-Yves Chibon
|
9ed075754e
Fix unit-tests on a real DBMS, thanks faitout
|
9 years ago |
Pierre-Yves Chibon
|
955bebbe42
Add method to link one token with the ACLs of the database for the tests
|
9 years ago |
Pierre-Yves Chibon
|
51a00a52dd
Add method to add some ACLs in the database for the tests
|
9 years ago |
Pierre-Yves Chibon
|
c0b6350566
Add method to insert a few tokens in the database for the tests
|
9 years ago |
Pierre-Yves Chibon
|
c480d9eab2
Always delete the temp git repo created during the tests
|
9 years ago |
Pierre-Yves Chibon
|
e120d52866
Add a fas_session_id to the user created for the tests
|
9 years ago |
Pierre-Yves Chibon
|
05b64821bd
Add an option to create bare git repo
|
9 years ago |
Pierre-Yves Chibon
|
c5271855a4
Add an email attribute to the fake user we create
|
9 years ago |
Pierre-Yves Chibon
|
e2259d49a5
Fix the unit-test suite for the addition of the hook_token
|
9 years ago |
Pierre-Yves Chibon
|
0e3e633755
Adjust the unit-tests for the new default_email of users
|
9 years ago |
Pierre-Yves Chibon
|
fe50171375
Rename progit to pagure
|
9 years ago |
Pierre-Yves Chibon
|
9fe7c1c2d5
Adjust the way the login_time is set for the tests
|
9 years ago |
Pierre-Yves Chibon
|
21f499936e
Adjust the FakeUser used in the test so that it has a login_time
|
9 years ago |