Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
officejs
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
nexedi
officejs
Commits
86e4946d
Commit
86e4946d
authored
May 23, 2011
by
Gabriel L. Oliveira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix base test class to UNGTestMixin
parent
735912c3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
testUNGDocsTextEditor.py
testUNGDocsTextEditor.py
+3
-2
No files found.
testUNGDocsTextEditor.py
View file @
86e4946d
from
base
import
BaseUNGTest
from
UNGTestMixin
import
UNGTestMixin
import
unittest
class
TestUNGDocsTextEditor
(
BaseUNGTest
):
class
TestUNGDocsTextEditor
(
UNGTestMixin
):
"""tests related to UNG Docs text editors"""
def
test_fill_content_on_web_page_with_fck_editor
(
self
):
"""test the action of filling content on FCK Editor for a Web Page
...
...
@@ -38,6 +38,7 @@ class TestUNGDocsTextEditor(BaseUNGTest):
self
.
assertEqual
(
"<p>hello there</p>"
,
self
.
selenium
.
get_eval
(
"window.document.getElementById('field_my_text_content').value"
))
self
.
selenium
.
select_window
(
"null"
)
if
__name__
==
"__main__"
:
unittest
.
main
()
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