Modify

Opened 10 years ago

Closed 21 months ago

#11990 closed defect (duplicate)

Failures of functional tests

Reported by: Jun Omae Owned by:
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

I'll try to fix it.

$ PYTHONPATH=.:/home/jun66j5/src/tracdev/svn/branches/0.12-stable ~/venv/py24-0.12/bin/python setup.py test
...
Traceback (most recent call last):
  File "setup.py", line 78, in ?
    entry_points = {
  File "/usr/lib/python2.4/distutils/core.py", line 149, in setup
    dist.run_commands()
  File "/usr/lib/python2.4/distutils/dist.py", line 946, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.4/distutils/dist.py", line 966, in run_command
    cmd_obj.run()
  File "/home/jun66j5/venv/py24/lib/python2.4/site-packages/distribute-0.6.24-py2.4.egg/setuptools/command/test.py", line 137, in run
    self.with_project_on_sys_path(self.run_tests)
  File "/home/jun66j5/venv/py24/lib/python2.4/site-packages/distribute-0.6.24-py2.4.egg/setuptools/command/test.py", line 117, in with_project_on_sys_path
    func()
  File "/home/jun66j5/venv/py24/lib/python2.4/site-packages/distribute-0.6.24-py2.4.egg/setuptools/command/test.py", line 146, in run_tests
    testLoader = loader_class()
  File "/usr/lib/python2.4/unittest.py", line 759, in __init__
    self.runTests()
  File "/usr/lib/python2.4/unittest.py", line 796, in runTests
    result = self.testRunner.run(self.test)
  File "/usr/lib/python2.4/unittest.py", line 696, in run
    test(result)
  File "/usr/lib/python2.4/unittest.py", line 428, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python2.4/unittest.py", line 424, in run
    test(result)
  File "/usr/lib/python2.4/unittest.py", line 428, in __call__
    return self.run(*args, **kwds)
  File "/usr/lib/python2.4/unittest.py", line 424, in run
    test(result)
  File "/usr/lib/python2.4/unittest.py", line 428, in __call__
    return self.run(*args, **kwds)
  File "/home/jun66j5/src/tracdev/svn/branches/0.12-stable/trac/test.py", line 133, in run
    self.setUp()
  File "/home/jun66j5/src/accountmanagerplugin.git/acct_mgr/tests/functional/__init__.py", line 46, in setUp
    self._testenv = AcctMgrFuntionalTestEnvironment(dirname, port, baseurl)
  File "/home/jun66j5/src/accountmanagerplugin.git/acct_mgr/tests/functional/testenv.py", line 33, in __init__
    FunctionalTestEnvironment.__init__(self, dirname, port, url)
  File "/home/jun66j5/src/tracdev/svn/branches/0.12-stable/trac/tests/functional/testenv.py", line 59, in __init__
    self.create()
  File "/home/jun66j5/src/accountmanagerplugin.git/acct_mgr/tests/functional/testenv.py", line 95, in create
    if call(["svnadmin", "create", self.repodir], stdout=logfile,
AttributeError: 'AcctMgrFuntionalTestEnvironment' object has no attribute 'repodir'

Attachments (0)

Change History (4)

comment:1 Changed 9 years ago by Ryan J Ollos

Release 0.5 (#12569) will be the last major release to support Trac < 1.0. After that only major issues and security issues will be fixed on the 0.4-stable branch. Would you be able to provide a patch within the next week or two? I'm aiming to release on November 14th or 15th.

comment:2 Changed 8 years ago by Ryan J Ollos

Owner: Steffen Hoffmann deleted

comment:3 Changed 21 months ago by figaro

See also, and possible duplicate:

#10750
Resurrect functional tests

comment:4 Changed 21 months ago by Jun Omae

Resolution: duplicate
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.