Skip to content
Browse files

testrunner

  • Loading branch information...
1 parent 6b75cd4 commit 2eaeefc28ca7c1aa4358045d355342f98eff8ff4 Shaun Sephton committed Sep 2, 2011
Showing with 40 additions and 5 deletions.
  1. +0 −3 AUTHORS
  2. +7 −0 AUTHORS.rst
  3. +7 −0 CHANGELOG.rst
  4. +2 −1 MANIFEST.in
  5. 0 richcomments/models.py
  6. +8 −0 richcomments/tests.py
  7. +11 −1 setup.py
  8. +5 −0 test_settings.py
View
3 AUTHORS
@@ -1,3 +0,0 @@
-Praekelt Foundation
-===================
-* Shaun Sephton
View
7 AUTHORS.rst
@@ -0,0 +1,7 @@
+Authors
+=======
+
+Praekelt Foundation
+-------------------
+* Shaun Sephton
+
View
7 CHANGELOG.rst
@@ -0,0 +1,7 @@
+Changelog
+=========
+
+0.0.1 (2010-08-03)
+------------------
+#. Initial release
+
View
3 MANIFEST.in
@@ -1,4 +1,5 @@
-include AUTHORS
+include AUTHORS.rst
+include CHANGELOG.rst
include LICENSE
include README.rst
recursive-include richcomments/media *
View
0 richcomments/models.py
No changes.
View
8 richcomments/tests.py
@@ -0,0 +1,8 @@
+import unittest
+
+from richcomments import views
+
+
+class TestCase(unittest.TestCase):
+ def test_something(self):
+ raise NotImplementedError('Test not implemented. Bad developer!')
View
12 setup.py
@@ -1,16 +1,26 @@
from setuptools import setup, find_packages
+from setuptools.command.test import test
+
+def run_tests(self):
+ from setuptest.runtests import runtests
+ return runtests(self)
+test.run_tests = run_tests
setup(
name='django-richcomments',
version='0.0.1',
description='Django app extending the comments framework for RIA.',
- long_description = open('README.rst', 'r').read(),
+ long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(),
author='Praekelt Foundation',
author_email='dev@praekelt.com',
license='BSD',
url='http://github.com/praekelt/django-richcomments',
packages = find_packages(),
include_package_data=True,
+ test_suite="richcomments.tests",
+ tests_require=[
+ 'django-setuptest',
+ ],
classifiers = [
"Programming Language :: Python",
"License :: OSI Approved :: BSD License",
View
5 test_settings.py
@@ -0,0 +1,5 @@
+DATABASE_ENGINE = 'sqlite3'
+
+INSTALLED_APPS = [
+ 'richcomments'
+]

0 comments on commit 2eaeefc

Please sign in to comment.
Something went wrong with that request. Please try again.