From 3e759cad8ba9ca70cd8d1d4d0f259c420c7634be Mon Sep 17 00:00:00 2001 From: Arsentiy Milchakov Date: Wed, 30 Sep 2020 14:36:17 +0300 Subject: [PATCH] [pykmlib] review fix --- kml/pykmlib/bindings_test.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kml/pykmlib/bindings_test.py b/kml/pykmlib/bindings_test.py index cfb4eab9d6..d234e7032a 100644 --- a/kml/pykmlib/bindings_test.py +++ b/kml/pykmlib/bindings_test.py @@ -15,7 +15,7 @@ class PyKmlibAdsTest(unittest.TestCase): pykmlib.load_classificator_types(classificator_file_str, types_file_str) - def make_category(): + def make_compilation(): c = pykmlib.CategoryData() c.type = pykmlib.CompilationType.Category c.name['default'] = 'Test category' @@ -38,7 +38,7 @@ class PyKmlibAdsTest(unittest.TestCase): c.properties.set_dict({'property1':'value1', 'property2':'value2'}) return c - category = make_category() + category = make_compilation() bookmark = pykmlib.BookmarkData() bookmark.name['default'] = 'Test bookmark' @@ -91,11 +91,11 @@ class PyKmlibAdsTest(unittest.TestCase): track.properties.set_dict({'tr_property1':'value1', 'tr_property2':'value2'}) compilations = pykmlib.CompilationList() - compilations.append(make_category()) - collection = make_category() + compilations.append(make_compilation()) + collection = make_compilation() collection.type = pykmlib.CompilationType.Collection compilations.append(collection) - day = make_category() + day = make_compilation() day.type = pykmlib.CompilationType.Day compilations.append(day)