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
d84493ed
Commit
d84493ed
authored
Aug 02, 2011
by
Gabriel L. Oliveira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add NotImplementedError until this feature is correctly implemented
parent
2f93374d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
testUNGDocsTextEditor.py
testUNGDocsTextEditor.py
+10
-5
No files found.
testUNGDocsTextEditor.py
View file @
d84493ed
...
...
@@ -71,12 +71,17 @@ class TestUNGDocsTextEditor(UNGTestMixin):
web_page_content
=
self
.
selenium
.
get_eval
(
"window.document.getElementById('field_my_text_content').value"
)
#assert text content is present
self
.
failUnless
(
'<b>Functional UNG Test</b>'
in
web_page_content
)
self
.
failUnless
(
'<p style="margin-bottom: 0in; font-weight: normal;">'
'Sample text document created in order to test some UNG features.'
'</p>'
in
web_page_content
)
self
.
failUnless
(
'<p style="margin-bottom: 0in; font-weight: normal">Sample text document created in order to test some UNG features.</p>'
in
web_page_content
)
#assert image content is present
try
:
self
.
failUnless
(
'<img align="LEFT" width="122" height="30" border="0"'
' name="ung_docs-logo" src="image_module/'
in
web_page_content
)
except
AssertionError
:
raise
NotImplementedError
(
"This should fail until implement "
"correct behaviour of images. They should be put under "
"image_module, instead of just a 'tmp' file.
\
n
"
"XXX: Please refactor this try/except code if this"
" functionality is already implemented."
)
def
test_select_xinha_as_preferred_text_editor
(
self
):
"""test that its possible to select Xinha instead of FCKeditor
...
...
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