github.com/hanks177/podman/v4@v4.1.3-0.20220613032544-16d90015bc83/test/apiv2/python/rest_api/test_v2_0_0_manifest.py (about) 1 import unittest 2 3 import requests 4 from .fixtures import APITestCase 5 6 7 class ManifestTestCase(APITestCase): 8 def test_manifest_409(self): 9 r = requests.post(self.uri("/manifests/create"), params={"name": "ThisIsAnInvalidImage"}) 10 self.assertEqual(r.status_code, 400, r.text) 11 12 13 if __name__ == "__main__": 14 unittest.main()