# HG changeset patch # User Idan Kamara # Date 1318702199 -7200 # Node ID 37307caccf54792423831ebda673246636730cfe # Parent f4f636ecca3ee65d39fd2dd9621a738121b1187c add a script to run tests with nose plugins loaded diff -r f4f636ecca3e -r 37307caccf54 Makefile --- a/Makefile Sat Oct 15 20:03:04 2011 +0200 +++ b/Makefile Sat Oct 15 20:09:59 2011 +0200 @@ -8,4 +8,4 @@ .PHONY: tests tests: - nosetests --with-doctest + $(PYTHON) test.py --with-doctest diff -r f4f636ecca3e -r 37307caccf54 test.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test.py Sat Oct 15 20:09:59 2011 +0200 @@ -0,0 +1,7 @@ +#!/usr/bin/env python + +import nose +from tests import with_hg + +if __name__ == '__main__': + nose.main(addplugins=[with_hg.WithHgPlugin()])