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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
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):
...
@@ -88,9 +88,6 @@ class TestVifibCredential(testVifibMixin):
self
.
portal
.
manage_delObjects
([
'MailHost'
])
self
.
portal
.
manage_delObjects
([
'MailHost'
])
self
.
portal
.
_setObject
(
'MailHost'
,
DummyMailHost
(
'MailHost'
))
self
.
portal
.
_setObject
(
'MailHost'
,
DummyMailHost
(
'MailHost'
))
for
notification
in
self
.
portal
.
notification_message_module
.
objectValues
():
if
notification
.
getValidationState
()
==
"draft"
:
notification
.
validate
()
self
.
stepTic
()
self
.
stepTic
()
def
testMailMessagePosted
(
self
):
def
testMailMessagePosted
(
self
):
...
@@ -149,4 +146,4 @@ class TestVifibCredential(testVifibMixin):
...
@@ -149,4 +146,4 @@ class TestVifibCredential(testVifibMixin):
credential_request = portal_catalog.getResultValue(portal_type="
Credential
Request
",
credential_request = portal_catalog.getResultValue(portal_type="
Credential
Request
",
reference="
gabriel
")
reference="
gabriel
")
self.assertEquals(credential_request.getFirstName(), "
Gabriel
")
self.assertEquals(credential_request.getFirstName(), "
Gabriel
")
self.assertEquals(credential_request.getDefaultEmailText(), "
gabriel
@
test
.
com
")
self.assertEquals(credential_request.getDefaultEmailText(), "
gabriel
@
test
.
com
")
\ 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