Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Romain Courteaud
slapos.core
Commits
0f8c957b
Commit
0f8c957b
authored
Feb 14, 2024
by
Romain Courteaud
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_configurator: change module id generator
parent
dacce440
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
master/bt5/slapos_configurator/TestTemplateItem/portal_components/test.erp5.testSlapOSConfigurator.py
...tem/portal_components/test.erp5.testSlapOSConfigurator.py
+2
-2
No files found.
master/bt5/slapos_configurator/TestTemplateItem/portal_components/test.erp5.testSlapOSConfigurator.py
View file @
0f8c957b
...
...
@@ -39,7 +39,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
self
.
portal
.
portal_ids
.
fixConsistency
()
self
.
assertEqual
(
self
.
portal
.
portal_ids
.
checkConsistency
(),
[])
self
.
assertEqual
(
self
.
portal
.
person_module
.
getIdGenerator
(),
"_generatePerDayId"
)
"_generatePerDay
NodeNumber
Id"
)
def
testConfiguredShacacheWebSite
(
self
):
""" Make sure Shacache WebSite is setuped by Alarm
...
...
@@ -148,7 +148,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
"""
module_list
=
[
module
.
getId
()
for
module
in
self
.
portal
.
objectValues
()
if
getattr
(
module
,
"getIdGenerator"
,
None
)
is
not
None
and
\
module
.
getIdGenerator
()
==
"_generatePerDayId"
]
module
.
getIdGenerator
()
==
"_generatePerDay
NodeNumber
Id"
]
expected_module_list
=
[
'access_token_module'
,
'account_module'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment