From 0376e8cf6f164426450960566c2b421ccaebf938 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Tue, 1 Jun 2010 21:21:11 +0100 Subject: [PATCH] Added self-test attribute Allows testing by 0test. Also, don't hard-code Python version in tests --- 0publish-gui.xml | 2 +- tests/testall.py | 2 +- tests/testbuffer.py | 2 +- tests/testxml.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/0publish-gui.xml b/0publish-gui.xml index 054cbe0..d9a02d7 100644 --- a/0publish-gui.xml +++ b/0publish-gui.xml @@ -19,7 +19,7 @@ these feeds. Development - + diff --git a/tests/testall.py b/tests/testall.py index 1941b12..e25ffd1 100755 --- a/tests/testall.py +++ b/tests/testall.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.4 +#!/usr/bin/env python import unittest, os, sys try: import coverage diff --git a/tests/testbuffer.py b/tests/testbuffer.py index 9c4d3ba..6c8ba58 100755 --- a/tests/testbuffer.py +++ b/tests/testbuffer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.4 +#!/usr/bin/env python import sys from os.path import dirname, abspath import unittest diff --git a/tests/testxml.py b/tests/testxml.py index c9efe9e..b30674b 100755 --- a/tests/testxml.py +++ b/tests/testxml.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.4 +#!/usr/bin/env python import sys from os.path import dirname, abspath import unittest -- 2.11.4.GIT