|
@@ -14,7 +14,7 @@ class factory_test(unittest.TestCase):
|
|
#
|
|
#
|
|
# Проверка создания ед. измерения
|
|
# Проверка создания ед. измерения
|
|
#
|
|
#
|
|
- def test_check_factory(self):
|
|
|
|
|
|
+ def test_factory(self):
|
|
# Подготовка
|
|
# Подготовка
|
|
unit = measurement_unit_model.create_kg()
|
|
unit = measurement_unit_model.create_kg()
|
|
|
|
|
|
@@ -27,7 +27,7 @@ class factory_test(unittest.TestCase):
|
|
#
|
|
#
|
|
# Проверка создание начальной номенклатуры
|
|
# Проверка создание начальной номенклатуры
|
|
#
|
|
#
|
|
- def test_check_create_nomenclature(self):
|
|
|
|
|
|
+ def test_create_nomenclature(self):
|
|
# Подготовка
|
|
# Подготовка
|
|
items = start_factory.create_nomenclature_list()
|
|
items = start_factory.create_nomenclature_list()
|
|
|
|
|
|
@@ -40,7 +40,7 @@ class factory_test(unittest.TestCase):
|
|
#
|
|
#
|
|
# Проверка работы класса start_factory
|
|
# Проверка работы класса start_factory
|
|
#
|
|
#
|
|
- def test_check_start_factor(self):
|
|
|
|
|
|
+ def test_start_factor(self):
|
|
# Подготовка
|
|
# Подготовка
|
|
manager = settings_manager()
|
|
manager = settings_manager()
|
|
strg = storage()
|
|
strg = storage()
|
|
@@ -58,5 +58,4 @@ class factory_test(unittest.TestCase):
|
|
|
|
|
|
|
|
|
|
assert len(result) == 0
|
|
assert len(result) == 0
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|