diff --git a/samples/client/petstore/python/SwaggerPetstore-python/testfiles/foo.png b/samples/client/petstore/python/SwaggerPetstore-python/testfiles/foo.png new file mode 100644 index 0000000000..a9b12cf592 Binary files /dev/null and b/samples/client/petstore/python/SwaggerPetstore-python/testfiles/foo.png differ diff --git a/samples/client/petstore/python/SwaggerPetstore-python/testfiles/foo.txt b/samples/client/petstore/python/SwaggerPetstore-python/testfiles/foo.txt deleted file mode 100644 index 3b18e512db..0000000000 --- a/samples/client/petstore/python/SwaggerPetstore-python/testfiles/foo.txt +++ /dev/null @@ -1 +0,0 @@ -hello world diff --git a/samples/client/petstore/python/SwaggerPetstore-python/tests/test_pet_api.py b/samples/client/petstore/python/SwaggerPetstore-python/tests/test_pet_api.py index 90793aecb1..b6088ae34b 100644 --- a/samples/client/petstore/python/SwaggerPetstore-python/tests/test_pet_api.py +++ b/samples/client/petstore/python/SwaggerPetstore-python/tests/test_pet_api.py @@ -47,7 +47,7 @@ class PetApiTests(unittest.TestCase): def setUpFiles(self): self.test_file_dir = os.path.join(os.path.dirname(__file__), "..", "testfiles") self.test_file_dir = os.path.realpath(self.test_file_dir) - self.foo = os.path.join(self.test_file_dir, "foo.txt") + self.foo = os.path.join(self.test_file_dir, "foo.png") def test_1_add_pet(self): try: