openmodule 10.0.6__tar.gz → 10.0.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {openmodule-10.0.6 → openmodule-10.0.7}/ChangeLog +6 -8
- {openmodule-10.0.6 → openmodule-10.0.7}/PKG-INFO +1 -1
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/utils/matching.py +43 -12
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule.egg-info/PKG-INFO +1 -1
- openmodule-10.0.7/openmodule.egg-info/pbr.json +1 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_utils_matching.py +7 -4
- openmodule-10.0.6/openmodule.egg-info/pbr.json +0 -1
- {openmodule-10.0.6 → openmodule-10.0.7}/.gitlab-ci.yml +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/AUTHORS +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/LICENSE +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/README.md +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/docs/coding_standard.md +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/docs/core.md +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/docs/database.md +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/docs/deprecated_code/README.md +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/docs/deprecated_code/api/openmodule/utils/api.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/docs/deprecated_code/api/openmodule_test/api.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/docs/deprecated_code/api/tests/test_utils_api.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/docs/known_issues.md +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/docs/migrations.md +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/docs/rpc.md +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/docs/testing.md +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/__init__.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/alert.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/checks.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/config.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/core.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/database/custom_types.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/database/database.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/database/env.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/database/migration_preprocessing_functions.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/dispatcher.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/health.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/logging.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/messaging.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/models/__init__.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/models/alert.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/models/backend.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/models/base.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/models/io.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/models/presence.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/models/privacy.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/models/rpc.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/models/validation.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/models/vehicle.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/rpc/__init__.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/rpc/client.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/rpc/common.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/rpc/server.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/sentry.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/threading.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/utils/__init__.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/utils/backend.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/utils/charset.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/utils/connection_status.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/utils/db_helper.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/utils/io.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/utils/misc_functions.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/utils/package_reader.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/utils/presence.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/utils/schema.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule/utils/validation.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule.egg-info/SOURCES.txt +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule.egg-info/dependency_links.txt +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule.egg-info/not-zip-safe +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule.egg-info/requires.txt +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule.egg-info/top_level.txt +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule_test/__init__.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule_test/alert.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule_test/backend.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule_test/core.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule_test/database.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule_test/eventlistener.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule_test/fake_package_creator.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule_test/files.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule_test/gate.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule_test/health.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule_test/interrupt.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule_test/io_simulator.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule_test/presence.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule_test/requirements.txt +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule_test/rpc.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule_test/setup.cfg +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule_test/setup.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule_test/utils.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/openmodule_test/zeromq.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/requirements.txt +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/setup.cfg +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/setup.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/test-requirements.txt +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/__init__.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/config.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/database_models_migration.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/database_models_test.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/invalid_database/alembic/README +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/invalid_database/alembic/__init__.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/invalid_database/alembic/env.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/invalid_database/alembic/script.py.mako +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/invalid_database/alembic/versions/ff26e54332f9_datetime_models.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/invalid_database/alembic.ini +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/invalid_database/makemigration.sh +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/migration_test_database/__init__.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/migration_test_database/alembic/__init__.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/migration_test_database/alembic/env.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/migration_test_database/alembic/script.py.mako +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/migration_test_database/alembic/versions/19789aa5361c_initial.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/migration_test_database/alembic/versions/19d887929ae7_alter.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/migration_test_database/alembic/versions/__init__.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/migration_test_database/alembic.ini +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/migration_test_database/makemigration.sh +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/resources/configs/config.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/resources/configs/test_config.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/resources/configs/test_config_1.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/resources/utils_matching/A-10.yml +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/resources/utils_matching/A-20.yml +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/resources/utils_matching/DEFAULT-10.yml +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/resources/utils_matching/DEFAULT-20.yml +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/resources/utils_matching/DEFAULT-30.yml +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/resources/utils_matching/LEGACY-0.yml +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/resources/utils_matching/TEST-10.yml +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/resources/utils_matching/TEST-20.yml +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/resources/utils_matching/TEST-30.yml +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/resources/utils_matching/TEST-40.yml +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_alert.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_checks.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_config.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_core.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_database/alembic/__init__.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_database/alembic/env.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_database/alembic/script.py.mako +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_database/alembic/versions/32b8c728abbf_initial.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_database/alembic.ini +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_database/makemigration.sh +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_database.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_dispatcher.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_health.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_interrupt.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_io_listen.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_messaging.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_model.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_models_backend.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_package_reader.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_rpc.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_schema.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_sentry.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_test_alert.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_test_gate.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_test_zeromq.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_utils_backend.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_utils_charset.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_utils_connection_status.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_utils_misc_functions.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_utils_presence.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_utils_validation.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tests/test_utils_vehicle.py +0 -0
- {openmodule-10.0.6 → openmodule-10.0.7}/tox.ini +0 -0
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
CHANGES
|
|
2
2
|
=======
|
|
3
3
|
|
|
4
|
+
v10.0.7
|
|
5
|
+
-------
|
|
6
|
+
|
|
7
|
+
* fix
|
|
8
|
+
* schemes here and not required to load
|
|
9
|
+
|
|
4
10
|
v10.0.6
|
|
5
11
|
-------
|
|
6
12
|
|
|
@@ -164,11 +170,3 @@ v6.1.2
|
|
|
164
170
|
* settings module now module instead of path, developer errors removed from non openmodule test
|
|
165
171
|
* migration notice for tox.ini change [skip ci]
|
|
166
172
|
* allow externals bash added for tox v4, and if fixed
|
|
167
|
-
* updated tox to check for openmodule\_test imports
|
|
168
|
-
* rebase on master
|
|
169
|
-
* session wrapper for database session, do not allow access to 'closed' sessions
|
|
170
|
-
|
|
171
|
-
v6.1.1
|
|
172
|
-
------
|
|
173
|
-
|
|
174
|
-
* interrupt test mixin rework
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import copy
|
|
1
2
|
import glob
|
|
2
|
-
import threading
|
|
3
3
|
import unicodedata
|
|
4
4
|
from io import StringIO
|
|
5
5
|
|
|
@@ -28,6 +28,38 @@ replacements:
|
|
|
28
28
|
to: "U"
|
|
29
29
|
exactitude: 0.0
|
|
30
30
|
"""
|
|
31
|
+
DEFAULT_5_STRING = """
|
|
32
|
+
allowed: "0123456789ABCDEFGHIJKLMNPQRSTUVWXYZÄÖÜ"
|
|
33
|
+
kept_separators: NONE
|
|
34
|
+
replacements:
|
|
35
|
+
- from: "O"
|
|
36
|
+
to: "0"
|
|
37
|
+
exactitude: 0.4
|
|
38
|
+
"""
|
|
39
|
+
DEFAULT_10_STRING = """
|
|
40
|
+
allowed: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÜ:"
|
|
41
|
+
kept_separators: NONE
|
|
42
|
+
replacements:
|
|
43
|
+
- from: " "
|
|
44
|
+
to: ":"
|
|
45
|
+
- from: "-"
|
|
46
|
+
to: ":"
|
|
47
|
+
- from: "."
|
|
48
|
+
to: ":"
|
|
49
|
+
exactitude: 0.6
|
|
50
|
+
"""
|
|
51
|
+
DEFAULT_20_STRING = """
|
|
52
|
+
allowed: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÜ:"
|
|
53
|
+
kept_separators: FIRST
|
|
54
|
+
replacements:
|
|
55
|
+
- from: " "
|
|
56
|
+
to: ":"
|
|
57
|
+
- from: "-"
|
|
58
|
+
to: ":"
|
|
59
|
+
- from: "."
|
|
60
|
+
to: ":"
|
|
61
|
+
exactitude: 0.7
|
|
62
|
+
"""
|
|
31
63
|
|
|
32
64
|
|
|
33
65
|
class MatchingConfig(OpenModuleModel):
|
|
@@ -115,6 +147,13 @@ class PlateYaml:
|
|
|
115
147
|
|
|
116
148
|
|
|
117
149
|
class PlateYamlSelector(object):
|
|
150
|
+
standard_schemes = {
|
|
151
|
+
"LEGACY": {0: PlateYaml("LEGACY-0.yml", LEGACY_YAML_STRING)},
|
|
152
|
+
"DEFAULT": {5: PlateYaml("DEFAULT-5.yml", DEFAULT_5_STRING),
|
|
153
|
+
10: PlateYaml("DEFAULT-10.yml", DEFAULT_10_STRING),
|
|
154
|
+
20: PlateYaml("DEFAULT-20.yml", DEFAULT_20_STRING)}
|
|
155
|
+
}
|
|
156
|
+
|
|
118
157
|
@classmethod
|
|
119
158
|
def from_config(cls, config: MatchingConfig):
|
|
120
159
|
revision_path = os.path.join(os.path.dirname(config.directory), "revision")
|
|
@@ -145,8 +184,8 @@ class PlateYamlSelector(object):
|
|
|
145
184
|
new_revision = "LOADED"
|
|
146
185
|
|
|
147
186
|
if new_revision != self.revision:
|
|
187
|
+
self.schemes = copy.deepcopy(self.standard_schemes)
|
|
148
188
|
yaml_filenames = glob.glob(os.path.join(self.yaml_dir, "*.yml"))
|
|
149
|
-
self.schemes.clear()
|
|
150
189
|
for fn in yaml_filenames:
|
|
151
190
|
plate_yaml = PlateYaml(fn)
|
|
152
191
|
if plate_yaml.version >= 0: # check, if loading was successful
|
|
@@ -154,16 +193,8 @@ class PlateYamlSelector(object):
|
|
|
154
193
|
self.schemes[plate_yaml.scheme][plate_yaml.version] = plate_yaml
|
|
155
194
|
else:
|
|
156
195
|
self.schemes[plate_yaml.scheme] = {plate_yaml.version: plate_yaml}
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
if legacy_yaml.version < 0:
|
|
160
|
-
raise Exception("NO LEGACY YAML COULD BE LOADED / CREATED")
|
|
161
|
-
else:
|
|
162
|
-
legacy_yaml = self.schemes["LEGACY"][0]
|
|
163
|
-
del self.schemes["LEGACY"]
|
|
164
|
-
if "DEFAULT" not in self.schemes:
|
|
165
|
-
self.schemes["DEFAULT"] = {}
|
|
166
|
-
|
|
196
|
+
legacy_yaml = self.schemes["LEGACY"][0]
|
|
197
|
+
del self.schemes["LEGACY"]
|
|
167
198
|
for key in self.schemes.keys():
|
|
168
199
|
self.schemes[key][0] = legacy_yaml
|
|
169
200
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"git_version": "8d83058", "is_release": true}
|
|
@@ -297,8 +297,11 @@ class MatchingTest(unittest.TestCase):
|
|
|
297
297
|
pys.match_plate(p, db[0], random.randint(0, 1), random.randint(0, 1), return_only_best=False)
|
|
298
298
|
|
|
299
299
|
def test_no_yamls(self):
|
|
300
|
-
pys = PlateYamlSelector("/")
|
|
301
|
-
self.assertEqual("GARIV01", pys.convert("G ARIVO 1", "A",
|
|
300
|
+
pys = PlateYamlSelector("/") # should
|
|
301
|
+
self.assertEqual("GARIV01", pys.convert("G ARIVO 1", "A", 0))
|
|
302
|
+
self.assertEqual("GARIV01", pys.convert("G ARIVO 1", "A", 5))
|
|
303
|
+
self.assertEqual("GARIVO1", pys.convert("G ARIVO 1", "A", 10))
|
|
304
|
+
self.assertEqual("G:ARIVO1", pys.convert("G ARIVO 1", "A", 20))
|
|
302
305
|
|
|
303
306
|
def test_reload(self):
|
|
304
307
|
tempdir = tempfile.mktemp()
|
|
@@ -310,7 +313,7 @@ class MatchingTest(unittest.TestCase):
|
|
|
310
313
|
with open(revision_path, 'w') as f:
|
|
311
314
|
f.write("1")
|
|
312
315
|
pys = PlateYamlSelector(tempdir, revision_path)
|
|
313
|
-
self.assertEqual("
|
|
316
|
+
self.assertEqual("GARIVO1", pys.convert("G ARIVO 1", "A", 10))
|
|
314
317
|
with open(default_10_path, "w") as f:
|
|
315
318
|
f.write("""
|
|
316
319
|
allowed: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÜ:-. "
|
|
@@ -320,7 +323,7 @@ class MatchingTest(unittest.TestCase):
|
|
|
320
323
|
|
|
321
324
|
# revision did not change, no reload is happening
|
|
322
325
|
pys.reload_yamls()
|
|
323
|
-
self.assertEqual("
|
|
326
|
+
self.assertEqual("GARIVO1", pys.convert("G ARIVO 1", "A", 10))
|
|
324
327
|
|
|
325
328
|
# change revision to trigger reload
|
|
326
329
|
with open(revision_path, 'w') as f:
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"git_version": "e6843ea", "is_release": true}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openmodule-10.0.6 → openmodule-10.0.7}/openmodule/database/migration_preprocessing_functions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openmodule-10.0.6 → openmodule-10.0.7}/tests/migration_test_database/alembic/script.py.mako
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openmodule-10.0.6 → openmodule-10.0.7}/tests/migration_test_database/alembic/versions/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openmodule-10.0.6 → openmodule-10.0.7}/tests/test_database/alembic/versions/32b8c728abbf_initial.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|