Permalink
Browse files

Updated configuration

  • Loading branch information...
1 parent 56c531f commit d438e2a8e04e043ab8087247e4d2492c545421ae @rozza rozza committed May 29, 2012
Showing with 14 additions and 6 deletions.
  1. +2 −1 .gitignore
  2. +1 −1 flask_mongoengine/templates/panels/mongo-panel.html
  3. +1 −1 flask_mongoengine/wtf/models.py
  4. +9 −0 setup.cfg
  5. +1 −3 setup.py
View
@@ -8,4 +8,5 @@ dist/
*.egg-info/
env/
._*
-.DS_Store
+.DS_Store
+.coverage
@@ -169,5 +169,5 @@
$(this).closest('table').find('tr.mongo-stack-trace-hide').toggle();
});
-})(jQuery.noConflict(true));;
+})(jQuery.noConflict(true));
</script>
@@ -15,7 +15,7 @@ def _wrapper(o, n):
'unset': lambda o, n: None,
'inc': lambda o, n: o + n,
'dec': lambda o, n: o - n,
- 'push': _get_list(lambda o, n: not o and [n] or o.appned(n)),
+ 'push': _get_list(lambda o, n: not o and [n] or o.append(n)),
'push_all': _get_list(lambda o, n: not o and n or o.extend(n)),
'pull': _get_list(lambda o, n: n in o and o.remove(n)),
'pull_all': _get_list(lambda o, n: reduce(lambda x, y: y in o and o.remove(y), n, False)),
View
@@ -0,0 +1,9 @@
+
+[nosetests]
+verbosity = 2
+detailed-errors = 1
+with-coverage = 1
+#cover-html = 1
+#cover-html-dir = ../htmlcov
+cover-package = flask_mongoengine
+cover-erase = 1
View
@@ -40,9 +40,7 @@
packages=['flask_mongoengine',
'flask_mongoengine.wtf'],
include_package_data=True,
- tests_require=[
- 'nose',
- ],
+ setup_requires=['nose', 'coverage'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',

0 comments on commit d438e2a

Please sign in to comment.