Commits

Aleš Erjavec committed 8f60c52

Fixed module imports for doctests.

Comments (0)

Files changed (2)

orangecontrib/bio/kegg/tests/test_api.py

 import unittest
 import doctest
 
-from .. import api
-from ... import obiKEGG
+from ... import kegg
 
 
 class TestApi(unittest.TestCase):
 
 
 def load_tests(loader, tests, ignore):
-    tests.addTests(doctest.DocTestSuite(obiKEGG,
-                                        optionflags=doctest.ELLIPSIS))
+    tests.addTests(
+        doctest.DocTestSuite(kegg, optionflags=doctest.ELLIPSIS))
     return tests

orangecontrib/bio/tests/test_ontology.py

 import unittest
 from StringIO import StringIO
 
-from .. import obiOntology as ontology
+from .. import ontology
 
 
 class TestOntology(unittest.TestCase):