From c0cf29202db4bf8f5a5d0659bb1ec9af2a3bc8b5 Mon Sep 17 00:00:00 2001 From: sol HYUN Date: Fri, 24 Mar 2017 15:36:40 +0900 Subject: [PATCH] Change to more accurate words (overall) --- tests/test_schemas.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/test_schemas.py b/tests/test_schemas.py index 1d7249ddb..b1b87b8dc 100644 --- a/tests/test_schemas.py +++ b/tests/test_schemas.py @@ -405,11 +405,11 @@ class TestSchemaGeneratorWithRestrictedViewSets(TestCase): class Test4605Regression(TestCase): def test_4605_regression(self): generator = SchemaGenerator() - typical_path1 = generator.make_typical_path( - '/api/v1/items/', + overall = generator.make_overall( + '/api/', ) - assert typical_path1 == 'api-v1-items' - typical_path2 = generator.make_typical_path( + assert overall == 'api' + overall = generator.make_overall( '/auth/convert-token/' ) - assert typical_path2 == 'auth-convert-token' + assert overall == 'auth-convert-token'