From 8ebff1a9083125b047d1a32fc8f5e298376f15ba Mon Sep 17 00:00:00 2001 From: Exterminator11 Date: Tue, 24 Oct 2023 07:43:57 +0530 Subject: [PATCH] Updated test_openapi3parser.py --- tests/test_openapi3parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_openapi3parser.py b/tests/test_openapi3parser.py index 86517e64..2634c868 100644 --- a/tests/test_openapi3parser.py +++ b/tests/test_openapi3parser.py @@ -33,7 +33,7 @@ def test_get_info_from_paths(): def test_parse_file(): file_path = "tests/test_openapi3.yaml" - results_real = ( + results_expected = ( "Base URL:http://petstore.swagger.io,https://api.example.com\nPath1: " + "/pets\ndescription: None\nparameters: []\nmethods: \n" + "get=A paged array of pets\npost=Null " @@ -43,7 +43,7 @@ def test_parse_file(): ) openapi_parser_test = OpenAPI3Parser() results = openapi_parser_test.parse_file(file_path) - assert results == results_real + assert results == results_expected if __name__ == "__main__":