[geneagrapher] 116/226: Fixed two broken tests.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sat Jul 11 17:10:52 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository geneagrapher.
commit 15e257a3b467ed11a3fc818141b306edf3b56519
Author: David Alber <alber.david at gmail.com>
Date: Sat Aug 29 15:47:33 2009 +0000
Fixed two broken tests.
---
tests/tests.py | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/tests/tests.py b/tests/tests.py
index a9d1cc2..3aec82d 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -388,6 +388,16 @@ class TestGrabberMethods(unittest.TestCase):
self.assertEquals(advisors, [7298])
self.assertEquals(descendents, [12681, 28292, 10275, 79297, 36991, 17851, 51907, 15165, 89841, 84016])
+ def test009_multiple_advisors(self):
+ # Test for multiple advisors.
+ grabber = grab.Grabber(7401)
+ [name, institution, year, advisors, descendents] = grabber.extractNodeInformation()
+ self.assertEquals(name, u"C. Felix (Christian) Klein")
+ self.assertEquals(institution, u"Rheinische Friedrich-Wilhelms-Universit\xe4tt Bonn")
+ self.assertEquals(year, 1868)
+ self.assertEquals(advisors, [7402, 19964])
+ #self.assertEquals(descendents, [18603, 18233, 62547, 29642, 55175, 29458, 19953, 18232])
+
class TestGeneagrapherMethods(unittest.TestCase):
"""
Unit tests for the geneagrapher.Geneagrapher class.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/geneagrapher.git
More information about the debian-science-commits
mailing list