From d5705f6b875f0d3f0546eed420946a922888c2bb Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 14 Apr 2013 17:59:11 -0500 Subject: [PATCH] tests/: rename to test_ --- tests/run_all_tests | 2 +- tests/{testanalyzing.py => test_analyzing.py} | 0 tests/{testcomponent.py => test_component.py} | 0 tests/{testdecoding.py => test_decoding.py} | 2 ++ tests/{testencoding.py => test_encoding.py} | 0 tests/{testgraphing.py => test_graphing.py} | 0 tests/{testinputadapter.py => test_inputadapter.py} | 0 tests/{testtranscoding.py => test_transcoding.py} | 0 8 files changed, 3 insertions(+), 1 deletion(-) rename tests/{testanalyzing.py => test_analyzing.py} (100%) mode change 100644 => 100755 rename tests/{testcomponent.py => test_component.py} (100%) mode change 100644 => 100755 rename tests/{testdecoding.py => test_decoding.py} (99%) mode change 100644 => 100755 rename tests/{testencoding.py => test_encoding.py} (100%) mode change 100644 => 100755 rename tests/{testgraphing.py => test_graphing.py} (100%) mode change 100644 => 100755 rename tests/{testinputadapter.py => test_inputadapter.py} (100%) mode change 100644 => 100755 rename tests/{testtranscoding.py => test_transcoding.py} (100%) mode change 100644 => 100755 diff --git a/tests/run_all_tests b/tests/run_all_tests index 444c1db..810a2ba 100755 --- a/tests/run_all_tests +++ b/tests/run_all_tests @@ -9,7 +9,7 @@ if __name__ == '__main__': if curdir == '': curdir = '.' files = os.listdir(curdir) modfiles = filter (lambda y: y.endswith('.py'), files) - modfiles = filter (lambda f: f.startswith('test'), modfiles) + modfiles = filter (lambda f: f.startswith('test_'), modfiles) # get module names modnames = map (lambda x: os.path.splitext(x)[0], modfiles) # import them diff --git a/tests/testanalyzing.py b/tests/test_analyzing.py old mode 100644 new mode 100755 similarity index 100% rename from tests/testanalyzing.py rename to tests/test_analyzing.py diff --git a/tests/testcomponent.py b/tests/test_component.py old mode 100644 new mode 100755 similarity index 100% rename from tests/testcomponent.py rename to tests/test_component.py diff --git a/tests/testdecoding.py b/tests/test_decoding.py old mode 100644 new mode 100755 similarity index 99% rename from tests/testdecoding.py rename to tests/test_decoding.py index d88026f..84d7022 --- a/tests/testdecoding.py +++ b/tests/test_decoding.py @@ -1,3 +1,5 @@ +#! /usr/bin/env python + from timeside.decoder.core import FileDecoder from unit_timeside import * diff --git a/tests/testencoding.py b/tests/test_encoding.py old mode 100644 new mode 100755 similarity index 100% rename from tests/testencoding.py rename to tests/test_encoding.py diff --git a/tests/testgraphing.py b/tests/test_graphing.py old mode 100644 new mode 100755 similarity index 100% rename from tests/testgraphing.py rename to tests/test_graphing.py diff --git a/tests/testinputadapter.py b/tests/test_inputadapter.py old mode 100644 new mode 100755 similarity index 100% rename from tests/testinputadapter.py rename to tests/test_inputadapter.py diff --git a/tests/testtranscoding.py b/tests/test_transcoding.py old mode 100644 new mode 100755 similarity index 100% rename from tests/testtranscoding.py rename to tests/test_transcoding.py -- 2.39.5