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
0
Merge Requests
0
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
Klaus Wölfel
slapos.core
Commits
4691b7f5
Commit
4691b7f5
authored
May 14, 2013
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UTF-8 character are not allowed in ID.
parent
c1cf21cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
master/bt5/slapos_cloud/TestTemplateItem/testSlapOSCloudAlarm.py
...bt5/slapos_cloud/TestTemplateItem/testSlapOSCloudAlarm.py
+5
-0
master/bt5/slapos_cloud/bt/revision
master/bt5/slapos_cloud/bt/revision
+1
-1
No files found.
master/bt5/slapos_cloud/TestTemplateItem/testSlapOSCloudAlarm.py
View file @
4691b7f5
...
@@ -11,6 +11,11 @@ from Products.ERP5Type.DateUtils import addToDate
...
@@ -11,6 +11,11 @@ from Products.ERP5Type.DateUtils import addToDate
from
App.Common
import
rfc1123_date
from
App.Common
import
rfc1123_date
class
TestSlapOSCorePromiseSlapOSModuleIdGeneratorAlarm
(
testSlapOSMixin
):
class
TestSlapOSCorePromiseSlapOSModuleIdGeneratorAlarm
(
testSlapOSMixin
):
def
generateNewId
(
self
):
return
self
.
portal
.
portal_ids
.
generateNewId
(
id_group
=
(
'slapos_core_test'
))
def
test_Module_assertIdGenerator
(
self
):
def
test_Module_assertIdGenerator
(
self
):
module
=
self
.
portal
.
newContent
(
portal_type
=
'Person Module'
,
module
=
self
.
portal
.
newContent
(
portal_type
=
'Person Module'
,
id
=
str
(
self
.
generateNewId
()),
id
=
str
(
self
.
generateNewId
()),
...
...
master/bt5/slapos_cloud/bt/revision
View file @
4691b7f5
280
281
\ No newline at end of file
\ No newline at end of file
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