Change to more accurate words (overall)

This commit is contained in:
sol HYUN 2017-03-24 15:36:40 +09:00
parent eb80328356
commit c0cf29202d

View File

@ -405,11 +405,11 @@ class TestSchemaGeneratorWithRestrictedViewSets(TestCase):
class Test4605Regression(TestCase): class Test4605Regression(TestCase):
def test_4605_regression(self): def test_4605_regression(self):
generator = SchemaGenerator() generator = SchemaGenerator()
typical_path1 = generator.make_typical_path( overall = generator.make_overall(
'/api/v1/items/', '/api/',
) )
assert typical_path1 == 'api-v1-items' assert overall == 'api'
typical_path2 = generator.make_typical_path( overall = generator.make_overall(
'/auth/convert-token/' '/auth/convert-token/'
) )
assert typical_path2 == 'auth-convert-token' assert overall == 'auth-convert-token'