Browse Source

Rename datahandlers.datas

prieto 7 years ago
parent
commit
baf7f0db9b

lodel/leapi/datahandlers/datas.py → lodel/leapi/datahandlers/data.py View File

@@ -1,14 +1,14 @@
1 1
 #-*- coding: utf-8 -*-
2 2
 
3 3
 ## @package lodel.leapi.datahandlers.datas
4
-# This module contains specific datahandlers extending the basic ones from the lodel.leapi.datahandlers.datas_base module.
4
+# This module contains specific datahandlers extending the basic ones from the lodel.leapi.datahandlers.data_base module.
5 5
 
6 6
 
7 7
 import warnings
8 8
 import inspect
9 9
 import re
10 10
 
11
-from lodel.leapi.datahandlers.datas_base import Boolean, Integer, Varchar, DateTime, Text, File
11
+from lodel.leapi.datahandlers.data_base import Boolean, Integer, Varchar, DateTime, Text, File
12 12
 from lodel.exceptions import LodelException, LodelExceptions, LodelFatalError, DataNoneValid, FieldValidationError
13 13
 
14 14
 

lodel/leapi/datahandlers/datas_base.py → lodel/leapi/datahandlers/data_base.py View File


+ 1
- 1
tests/datahandlers/test_boolean.py View File

@@ -1,7 +1,7 @@
1 1
 import unittest
2 2
 from lodel.exceptions import *
3 3
 
4
-from lodel.leapi.datahandlers.datas import Boolean, Varchar, Integer
4
+from lodel.leapi.datahandlers.data import Boolean, Varchar, Integer
5 5
 
6 6
 
7 7
 test_boolean = Boolean()

+ 1
- 1
tests/datahandlers/test_concat.py View File

@@ -1,6 +1,6 @@
1 1
 import unittest
2 2
 
3
-from lodel.leapi.datahandlers.datas import Concat as Testee
3
+from lodel.leapi.datahandlers.data import Concat as Testee
4 4
 
5 5
 
6 6
 class ConcatTestCase(unittest.TestCase):

+ 1
- 1
tests/datahandlers/test_datahandler.py View File

@@ -1,7 +1,7 @@
1 1
 import unittest
2 2
 
3 3
 from lodel.leapi.datahandlers.base_classes import DataHandler
4
-from lodel.leapi.datahandlers.datas import Varchar
4
+from lodel.leapi.datahandlers.data import Varchar
5 5
 
6 6
 
7 7
 class DataHandlerTestCase(unittest.TestCase):

+ 1
- 1
tests/datahandlers/test_datetime.py View File

@@ -1,6 +1,6 @@
1 1
 import unittest
2 2
 import datetime
3
-from lodel.leapi.datahandlers.datas import DateTime
3
+from lodel.leapi.datahandlers.data import DateTime
4 4
 from lodel.exceptions import *
5 5
 
6 6
 

+ 1
- 1
tests/datahandlers/test_file.py View File

@@ -2,7 +2,7 @@ import os
2 2
 import unittest
3 3
 import tempfile
4 4
 
5
-from lodel.leapi.datahandlers.datas import File, Varchar
5
+from lodel.leapi.datahandlers.data import File, Varchar
6 6
 
7 7
 
8 8
 class FileTestCase(unittest.TestCase):

+ 1
- 1
tests/datahandlers/test_formatstring.py View File

@@ -1,6 +1,6 @@
1 1
 import unittest
2 2
 
3
-from lodel.leapi.datahandlers.datas import FormatString
3
+from lodel.leapi.datahandlers.data import FormatString
4 4
 from lodel.editorial_model.components import EmClass
5 5
 
6 6
 class FormatStringTestCase(unittest.TestCase):

+ 1
- 1
tests/datahandlers/test_integer.py View File

@@ -1,5 +1,5 @@
1 1
 import unittest
2
-from lodel.leapi.datahandlers.datas import Integer, Boolean
2
+from lodel.leapi.datahandlers.data import Integer, Boolean
3 3
 from lodel.exceptions import *
4 4
 
5 5
 test_int = Integer()

+ 1
- 2
tests/datahandlers/test_leobjectidentifier.py View File

@@ -1,8 +1,7 @@
1 1
 import unittest
2 2
 import inspect
3 3
 
4
-from unittest import mock
5
-from lodel.leapi.datahandlers.datas import LeobjectSubclassIdentifier as Testee
4
+from lodel.leapi.datahandlers.data import LeobjectSubclassIdentifier as Testee
6 5
 
7 6
 
8 7
 class LeresultectSubclassIdentifierTestCase(unittest.TestCase):        

+ 1
- 1
tests/datahandlers/test_password.py View File

@@ -1,5 +1,5 @@
1 1
 import unittest
2
-from lodel.leapi.datahandlers.datas import Password as Testee
2
+from lodel.leapi.datahandlers.data import Password as Testee
3 3
 
4 4
 
5 5
 class PasswordTestCase(unittest.TestCase):

+ 1
- 1
tests/datahandlers/test_regex.py View File

@@ -1,6 +1,6 @@
1 1
 import unittest
2 2
 from lodel.exceptions import *
3
-from lodel.leapi.datahandlers.datas import Regex, Varchar, Integer, UniqID
3
+from lodel.leapi.datahandlers.data import Regex, Varchar, Integer, UniqID
4 4
 from lodel.leapi.datahandlers.base_classes import DataHandler
5 5
 from unittest.mock import Mock
6 6
 import re

+ 1
- 1
tests/datahandlers/test_text.py View File

@@ -1,6 +1,6 @@
1 1
 import unittest
2 2
 
3
-from lodel.leapi.datahandlers.datas import Text
3
+from lodel.leapi.datahandlers.data import Text
4 4
 from lodel.exceptions import FieldValidationError
5 5
 
6 6
 

+ 1
- 1
tests/datahandlers/test_uniqid.py View File

@@ -4,7 +4,7 @@ from unittest.mock import patch
4 4
 
5 5
 import leapi_dyncode as dyncode
6 6
 
7
-from lodel.leapi.datahandlers.datas import UniqID as Testee
7
+from lodel.leapi.datahandlers.data import UniqID as Testee
8 8
 from lodel.plugins.dummy_datasource.datasource import DummyDatasource
9 9
 
10 10
 

+ 1
- 1
tests/datahandlers/test_varchar.py View File

@@ -1,5 +1,5 @@
1 1
 import unittest
2
-from lodel.leapi.datahandlers.datas import Varchar, Integer
2
+from lodel.leapi.datahandlers.data import Varchar, Integer
3 3
 from lodel.leapi.datahandlers.base_classes import FieldValidationError
4 4
 from lodel.exceptions import *
5 5
 

+ 1
- 1
tests/datahandlers/test_varcharlist.py View File

@@ -1,6 +1,6 @@
1 1
 import unittest
2 2
 
3
-from lodel.leapi.datahandlers.datas import VarcharList as Testee
3
+from lodel.leapi.datahandlers.data import VarcharList as Testee
4 4
 from lodel.leapi.datahandlers.exceptions import LodelDataHandlerException
5 5
 from lodel.exceptions import LodelException
6 6
 

Loading…
Cancel
Save