From: Ben Darnell Date: Sun, 23 Feb 2014 17:49:11 +0000 (-0500) Subject: Fix bit-rotted app engine tests. X-Git-Tag: v4.0.0b1~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=824226d71be4eadcffe13da2c3793b1e872549c2;p=thirdparty%2Ftornado.git Fix bit-rotted app engine tests. sys.argv is no longer empty in dev_appserver. --- diff --git a/maint/test/appengine/common/cgi_runtests.py b/maint/test/appengine/common/cgi_runtests.py index d2b474901..f33c131bc 100644 --- a/maint/test/appengine/common/cgi_runtests.py +++ b/maint/test/appengine/common/cgi_runtests.py @@ -62,7 +62,7 @@ def main(): import_everything() try: - unittest.main(defaultTest="all", argv=sys.argv) + unittest.main(defaultTest='all', argv=sys.argv[:1]) except SystemExit, e: if e.code == 0: print "PASS"