From 4d62e1152241854ab864142d827d735d84405078 Mon Sep 17 00:00:00 2001 From: rcoh Date: Sat, 12 Feb 2011 15:59:59 -0500 Subject: Modified the test code to automatically pick up new tests. Just add your test file to tests/__init__.py. Fixed a bug in ZigZagLayout. Added the BehaviorQuerySystem to allow querying on behaviors. Added the "ModulateColor" behavior which will continually shift a color along the HSV plane. Added TestBQS to test the behavior query system. Modified Behavior to have a getLastOutput and setLastOutput method. --- TestAll.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'TestAll.py') diff --git a/TestAll.py b/TestAll.py index 23b34ea..b24cf5e 100644 --- a/TestAll.py +++ b/TestAll.py @@ -1,9 +1,7 @@ import unittest from unittest import TestLoader -import tests.TestConfigLoaders -import tests.TestComponentRegistry -testSuite = TestLoader().loadTestsFromModule(tests.TestConfigLoaders) -unittest.TextTestRunner(verbosity=2).run(testSuite) +import tests -testSuite = TestLoader().loadTestsFromModule(tests.TestComponentRegistry) +testSuite = TestLoader().loadTestsFromModule(tests) unittest.TextTestRunner(verbosity=2).run(testSuite) + -- cgit v1.2.3