[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMP-dev] [IMP-commits] r5347 - in trunk/modules/algebra: include pyext test



On 3/5/10 10:37 AM, Notification of IMP commits wrote:
Author: 
Date: 2010-03-05 10:37:46 -0800 (Fri, 05 Mar 2010)
New Revision: 5347

Added:
    trunk/modules/algebra/test/test_plural.py
Modified:
    trunk/modules/algebra/include/Cone3D.h
    trunk/modules/algebra/include/Rotation3D.h
    trunk/modules/algebra/include/SpherePatch3D.h
    trunk/modules/algebra/include/SphericalVector3D.h
    trunk/modules/algebra/pyext/swig.i-in
    trunk/modules/algebra/test/test_rotation.py
Log:
add some collections of objects and shows

I think you forgot the assertPlural and assertShow methods...

ERROR: Test all algebra objects have show
----------------------------------------------------------------------
Traceback (most recent call last):
File "/clarinet1/home/ben/imp/modules/algebra/test/test_plural.py", line 13, in test_2 return self.assertShow(IMP.algebra, ['AxisAnglePair', 'Matrix3D', 'MultiArray3D', 'NearestNeighbor2D', 'NearestNeighbor3D', 'NearestNeighbor4D'])
AttributeError: 'DirectoriesTests' object has no attribute 'assertShow'

======================================================================
ERROR: Test all algebra objects have plural version
----------------------------------------------------------------------
Traceback (most recent call last):
File "/clarinet1/home/ben/imp/modules/algebra/test/test_plural.py", line 9, in test_data_directory return self.assertPlural(IMP.algebra, ['FixedXYZ', 'FixedZYZ', 'LinearFit', 'Matrix2D', 'Matrix3D', 'MultiArray3D', 'NearestNeighbor2D', 'NearestNeighbor3D', 'NearestNeighbor4D', 'ParabolicFit', 'BoundingBox2D', 'BoundingBox3D', 'BoundingBox4D'])
AttributeError: 'DirectoriesTests' object has no attribute 'assertPlural'

	Ben
--
                      http://salilab.org/~ben/
"It is a capital mistake to theorize before one has data."
	- Sir Arthur Conan Doyle