summaryrefslogtreecommitdiff
path: root/tests/integration/regression_test.py
Commit message (Collapse)AuthorAgeFilesLines
* Update alpine version to 3.10, and rename BUSYBOX variableSebastiaan van Stijn2019-08-101-5/+5
| | | | Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
* Regression 443 test: relax status-code checkSebastiaan van Stijn2019-01-091-1/+1
| | | | | | | | | | | This test was testing for a 500 status, but this status is actually a bug in the API (as it's due to an invalid request), and the API should actually return a 400 status. To make this test handle both situations, relax the test to accept either a 4xx or 5xx status. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
* Use pytest assertspytest-assertsJoffrey F2018-01-301-16/+14
| | | | Signed-off-by: Joffrey F <joffrey@docker.com>
* Split out base integration test for APIClientBen Firshman2016-11-221-2/+2
| | | | | | So the cleanup stuff can be reused for model tests. Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* Move BaseTestCase to BaseIntegrationTestBen Firshman2016-10-031-4/+2
| | | | | | | | Because two things called `BaseTestCase` is quite confusing. I haven't bothered refactoring the other `BaseTestCase` because that disappears anyway when we drop Python 2.6 support. Signed-off-by: Ben Firshman <ben@firshman.co.uk>
* Move methods/classes used by all integration tests to helpers.pyJoffrey F2015-11-181-3/+3
| | | | | | | Ensure setup_module is called at session level, making the test suite not order dependent. Test files can be invoked independently. Signed-off-by: Joffrey F <joffrey@docker.com>
* Reorganize test directoriesreorganize_testsJoffrey F2015-10-211-0/+69
More clearly separate unit and integration tests Allow splitting into multiple files Cleaner Signed-off-by: Joffrey F <joffrey@docker.com>