Commit be021363 by Chris Wanstrath

Tests can be run by executing the test file directly

parent 90ae7cb4
## 0.1.1 (2009-11-12) ## 0.1.1 (2009-11-13)
* Ensure we're dealing with strings, always * Ensure we're dealing with strings, always
* Tests can be run by executing the test file directly
## 0.1.0 (2009-11-12) ## 0.1.0 (2009-11-12)
......
...@@ -46,3 +46,6 @@ Again, Welcome! ...@@ -46,3 +46,6 @@ Again, Welcome!
* Then, surprisingly, it worked the third time. * Then, surprisingly, it worked the third time.
""") """)
if __name__ == '__main__':
unittest.main()
...@@ -60,3 +60,6 @@ class TestPystache(unittest.TestCase): ...@@ -60,3 +60,6 @@ class TestPystache(unittest.TestCase):
<li>Chris</li><li>Tom</li><li>PJ</li> <li>Chris</li><li>Tom</li><li>PJ</li>
</ul> </ul>
""") """)
if __name__ == '__main__':
unittest.main()
...@@ -28,3 +28,7 @@ class TestView(unittest.TestCase): ...@@ -28,3 +28,7 @@ class TestView(unittest.TestCase):
<li><a href="#Blue">blue</a></li> <li><a href="#Blue">blue</a></li>
</ul> </ul>
""") """)
if __name__ == '__main__':
unittest.main()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment