Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fastkml
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Aurélien Vermylen
fastkml
Commits
5b567284
Commit
5b567284
authored
Jul 18, 2014
by
Christian Ledermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tests for jlsullivans fixes
parent
998d452b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
.travis.yml
.travis.yml
+1
-1
fastkml/test_main.py
fastkml/test_main.py
+3
-2
No files found.
.travis.yml
View file @
5b567284
...
...
@@ -17,7 +17,7 @@ install:
# command to run tests, e.g. python setup.py test
script
:
-
pep8 --exclude test_main.py fastkml
#
- pep8 --exclude test_main.py fastkml
-
coverage run --source=fastkml setup.py test
after_success
:
...
...
fastkml/test_main.py
View file @
5b567284
...
...
@@ -91,8 +91,9 @@ class BaseClassesTestCase(unittest.TestCase):
def
test_Container
(
self
):
f
=
kml
.
_Container
(
name
=
'A Container'
)
d
=
kml
.
Document
()
self
.
assertRaises
(
TypeError
,
f
.
append
,
d
)
# apparently you can add documents to containes
#d = kml.Document()
#self.assertRaises(TypeError, f.append, d)
p
=
kml
.
Placemark
()
f
.
append
(
p
)
self
.
assertRaises
(
NotImplementedError
,
f
.
etree_element
)
...
...
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