Browse files

Make ioloop test runnable on unix (chmod +x and add #! line), and remove

hard-coded PYTHONPATH manipulations.  Add a small readme for tests.
  • Loading branch information...
1 parent 3e1d57b commit 064cc4693d2bec86a6fc2eec84c90aa097b6bbfb Ben Darnell committed Mar 25, 2010
Showing with 6 additions and 4 deletions.
  1. +4 −0 tornado/test/README
  2. +2 −4 tornado/test/
4 tornado/test/README
@@ -0,0 +1,4 @@
+Test coverage is almost non-existent, but it's a start. Be sure to
+set PYTHONPATH apprioriately (generally to the root directory of your
+tornado checkout) when running tests to make sure you're getting the
+version of the tornado package that you expect.
6 tornado/test/ 100644 → 100755
@@ -1,11 +1,9 @@
-# So we can run this file standalone from the test directory
-import sys
-sys.path.insert(0, '..')
+#!/usr/bin/env python
import unittest
import time
-import ioloop
+from tornado import ioloop
class TestIOLoop(unittest.TestCase):

0 comments on commit 064cc46

Please sign in to comment.