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
Labels
Merge Requests
17
Merge Requests
17
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
ee3016b4
Commit
ee3016b4
authored
Jun 07, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not change state of documents in test.
Required notification is validated by Business Template itself.
parent
43d67ce0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
master/bt5/vifib_credential/TestTemplateItem/testVifibCredential.py
.../vifib_credential/TestTemplateItem/testVifibCredential.py
+1
-4
No files found.
master/bt5/vifib_credential/TestTemplateItem/testVifibCredential.py
View file @
ee3016b4
...
...
@@ -88,9 +88,6 @@ class TestVifibCredential(testVifibMixin):
self
.
portal
.
manage_delObjects
([
'MailHost'
])
self
.
portal
.
_setObject
(
'MailHost'
,
DummyMailHost
(
'MailHost'
))
for
notification
in
self
.
portal
.
notification_message_module
.
objectValues
():
if
notification
.
getValidationState
()
==
"draft"
:
notification
.
validate
()
self
.
stepTic
()
def
testMailMessagePosted
(
self
):
...
...
@@ -149,4 +146,4 @@ class TestVifibCredential(testVifibMixin):
credential_request = portal_catalog.getResultValue(portal_type="
Credential
Request
",
reference="
gabriel
")
self.assertEquals(credential_request.getFirstName(), "
Gabriel
")
self.assertEquals(credential_request.getDefaultEmailText(), "
gabriel
@
test
.
com
")
\ No newline at end of file
self.assertEquals(credential_request.getDefaultEmailText(), "
gabriel
@
test
.
com
")
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