Gareth J. Greenaway
|
3dbe8dc8be
When making auth calls, only username, password, auth, and token are valid, so we strip anything else out.
|
5 years ago |
rallytime
|
8fed338708
Merge branch '2018.3' into 'fluorine'
|
6 years ago |
rallytime
|
2bb6d9771d
Mark one of the cherrypy tests as flaky
|
6 years ago |
Ch3LL
|
ad0d83c6a8
Add tests with filname in token data
|
6 years ago |
Ch3LL
|
9756f8f56e
Add empty token salt-api integration tests
|
6 years ago |
Erik Johnson
|
7b13a7df8b
Replace json module usage with a helper to ensure unicode content is handled properly
|
7 years ago |
Erik Johnson
|
877abb89d0
Complete the salt.utils refactor
|
7 years ago |
Erik Johnson
|
3184168365
Use explicit unicode strings + break up salt.utils
|
7 years ago |
Erik Johnson
|
b7cc420e6f
decode to string before trying to load JSON
|
7 years ago |
rallytime
|
d4e42b8e74
Use cptc.BaseRestCherryPyTest as test class
|
7 years ago |
rallytime
|
12a75c1108
Merge branch '2016.11' into 'nitrogen'
|
7 years ago |
Pedro Algarvio
|
80b80e5416
Fix cherrypy memory leakage
|
7 years ago |
Erik Johnson
|
1cdf5ea737
PY3 compatibility fixes to netapi tests
|
7 years ago |
Pedro Algarvio
|
1daa2e24cd
Moved some test supporting modules to tests/support
|
7 years ago |
Pedro Algarvio
|
15af4c9728
Test filenames conformity. Adjust for pytest.
|
7 years ago |
Seth House
|
6d22514934
Rename the rest_cherrypy tests to conform to our convention
|
9 years ago |
Pedro Algarvio
|
60f215f191
Add `from __future__ import absolute_import`
|
10 years ago |
Pedro Algarvio
|
e45033b993
Make PyLint ignore unused imports
|
10 years ago |
Pedro Algarvio
|
6b19c7b03e
Use `urlencode` from six
|
10 years ago |
Pedro Algarvio
|
5e4eb4bbaf
Don't add tests in `__init__`
|
10 years ago |
Seth House
|
2b5bed43b9
Add integration test for logging out of the rest_cherrypy app
|
10 years ago |
Seth House
|
63be4efae9
Added basic smoke-tests for the rest_cherrypy /run entrypoint
|
10 years ago |
Seth House
|
2dad062f8a
Move rest_cherrypy mocked methods into individual tests
|
10 years ago |
Pedro Algarvio
|
db58cbd8ca
Ignore import
|
10 years ago |
Seth House
|
f18a636628
Raise a 401 reponse instead of redirecting to the login page
|
10 years ago |
Seth House
|
d00cd104ac
And yet more pylint fixes
|
10 years ago |
Pedro Algarvio
|
7590586d05
Don't fail on missing CherryPy
|
10 years ago |
Seth House
|
d526c9ec2b
Mock fire_event() in test to check auth setting
|
10 years ago |
Seth House
|
d24cf41b62
Added integration tests for webhook auth enable/disable
|
10 years ago |
Seth House
|
0a1a21df17
First stab at integration tests for the rest_cherrypy netapi module
|
11 years ago |