Edgewall Software

Changeset 12716


Ignore:
Timestamp:
Apr 21, 2014, 3:46:24 AM (11 years ago)
Author:
Jun Omae
Message:

1.1.2dev: merged [12715] from 1.0-stable (a part of #11505)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/tracopt/versioncontrol/svn/tests/svn_fs.py

    r12449 r12716  
    3737from trac.util.concurrency import get_thread_id
    3838from trac.util.datefmt import utc
    39 from trac.versioncontrol import DbRepositoryProvider, Changeset, Node, \
    40                                 NoSuchChangeset
     39from trac.versioncontrol.api import DbRepositoryProvider, Changeset, Node, \
     40                                    NoSuchChangeset, RepositoryManager
    4141from tracopt.versioncontrol.svn import svn_fs
    4242
     
    10251025
    10261026    def tearDown(self):
     1027        self.repos.close()
     1028        self.repos = None
     1029        # clear cached repositories to avoid TypeError on termination (#11505)
     1030        RepositoryManager(self.env).reload_repositories()
    10271031        self.env.reset_db()
    10281032        # needed to avoid issue with 'WindowsError: The process cannot access
     
    10471051        self.repos.close()
    10481052        self.repos = None
     1053        # clear cached repositories to avoid TypeError on termination (#11505)
     1054        RepositoryManager(self.env).reload_repositories()
    10491055
    10501056
Note: See TracChangeset for help on using the changeset viewer.