We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bcea13 commit 8f8f2b5Copy full SHA for 8f8f2b5
1 file changed
rootfs/api/tests/test_pods.py
@@ -415,6 +415,8 @@ def test_scale_errors(self, mock_requests):
415
body = {'web': -1}
416
response = self.client.post(url, body)
417
self.assertEqual(response.status_code, 400, response.data)
418
+ self.assertEqual(response.data, {"detail": "Invalid scaling format: "
419
+ "['Must be greater than or equal to zero']"})
420
421
# scale to something other than a number
422
url = "/v2/apps/{app_id}/scale".format(**locals())
0 commit comments