Skip to content

Commit

Permalink
clean default configuration in tearDown()
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslanlazin committed Feb 5, 2019
1 parent 3a8918a commit fe8c08b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions samples/client/petstore/python/tests/test_pet_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ def setUpFiles(self):
self.test_file_dir = os.path.realpath(self.test_file_dir)
self.foo = os.path.join(self.test_file_dir, "foo.png")

def tearDown(self):
Configuration.set_default(None)

def test_preload_content_flag(self):
self.pet_api.add_pet(body=self.pet)

Expand Down

0 comments on commit fe8c08b

Please sign in to comment.