[Biopython-dev] [Bug 2759] Unit test for Bio.PDB.HSExposure
bugzilla-daemon at portal.open-bio.org
bugzilla-daemon at portal.open-bio.org
Thu Feb 12 15:13:44 UTC 2009
http://bugzilla.open-bio.org/show_bug.cgi?id=2759
------- Comment #6 from dalloliogm at gmail.com 2009-02-12 10:13 EST -------
Created an attachment (id=1237)
--> (http://bugzilla.open-bio.org/attachment.cgi?id=1237&action=view)
proposal of refactoring for test_PDB
I have refactored the test and moved all the known values into a separate
variable.
Now it should be very easy to test other pdb files and conditions: just
subclass this test, and redefine the values of residue_number, pdb_filename,
expected_values, etc...
I left the setUpAll method as commented, as it doesn't harm nobody there...
even if it was not commented, it wouldn't be executed from within the normal
unittest framework (and from nose, it would just have been an execution more).
--
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Biopython-dev
mailing list