Warning: Can't synchronize with the repository (/home/openhex/webapps/hg/repos/ohxpd does not appear to contain a Mercurial repository.)

Ticket #2 (accepted task)

Opened 3 years ago

Last modified 3 years ago

Ensure that all tests pass

Reported by: nicoe Owned by: nicoe
Priority: critical Milestone: First preview release
Component: kernel Keywords:
Cc:

Description (last modified by ged) (diff)

Individual tests which needs fixing:

  • tests/server.rst

Change History

  Changed 3 years ago by nicoe

  • owner changed from openhex@… to nicoe
  • status changed from new to accepted

  Changed 3 years ago by ged

  • summary changed from Ensure all that all the test passes to Ensure that all tests pass

  Changed 3 years ago by ged

nosetests tests/test_base.py
/home/ged/devel/genshi/genshi/init__.py:26: UserWarning?: Unbuilt egg for pinte [unknown version] (/home/ged/devel/ohxpd)

version = get_distribution('Genshi').version

E
======================================================================
ERROR: Failure: <type 'exceptions.ImportError?'>(cannot import name OHResource)


Traceback (most recent call last):

File "/var/lib/python-support/python2.5/nose/loader.py", line 361, in loadTestsFromName

addr.filename, addr.module)

File "/var/lib/python-support/python2.5/nose/importer.py", line 39, in importFromPath

return self.importFromDir(dir_path, fqname)

File "/var/lib/python-support/python2.5/nose/importer.py", line 84, in importFromDir

mod = load_module(part_fqname, fh, filename, desc)

File "/home/ged/devel/ohxpd/tests/test_base.py", line 26, in <module>

from base import OHObject

File "/home/ged/devel/ohxpd/base.py", line 55, in <module>

import services

File "/home/ged/devel/ohxpd/services/init.py", line 85, in <module>

register_services()

File "/home/ged/devel/ohxpd/services/init.py", line 80, in register_services

import services.authentication

File "/home/ged/devel/ohxpd/services/authentication.py", line 28, in <module>

from server import register_object

File "/home/ged/devel/ohxpd/server.py", line 35, in <module>

from base import OHResource

ImportError?: cannot import name OHResource

  Changed 3 years ago by ged

test/base.py is fixed.

follow-up: ↓ 6   Changed 3 years ago by ged

tests/server.rst is badly broken. Nico, could you take a look?

in reply to: ↑ 5 ; follow-up: ↓ 7   Changed 3 years ago by nicoe

  • description modified (diff)

Replying to ged:

tests/server.rst is badly broken. Nico, could you take a look?

in reply to: ↑ 6   Changed 3 years ago by ged

  • description modified (diff)

Replying to nicoe:

This is related to the circular import stuff that you were fixing yesterday. Could you push your > code ?
Replying to ged:

tests/server.rst is badly broken. Nico, could you take a look?

Done a while ago.

  Changed 3 years ago by ged

Individual tests which needs fixing:

  • tests/server.rst

  Changed 3 years ago by ged

  • description modified (diff)
Note: See TracTickets for help on using tickets.