~oddbloke/pqm/config-manager

« back to all changes in this revision

Viewing changes to pqm/tests/test_pqm.py

  • Committer: Daniel Watkins
  • Date: 2008-07-02 04:32:13 UTC
  • Revision ID: d.m.watkins@warwick.ac.uk-20080702043213-36ntg5c7auig2zt3
Removed pqm.tests.test_pqm.test_get_arch_impl.

Show diffs side-by-side

added added

removed removed

Lines of Context:
293
293
        self.assertEqual(star_match.group(1), 'foo@bar/foo--bar--0')
294
294
        self.assertEqual(star_match.group(2), 'foo@bar/gam--foo--0')
295
295
 
296
 
    def test_get_arch_impl(self):
297
 
        from pqm import CommandRunner
298
 
        configp = pqm.ConfigParser()
299
 
        handler = pqm.BranchSpecOptionHandler(configp)
300
 
        runner = CommandRunner(None, handler, configp, [])
301
 
        # TODO should be able to pass on systems without baz installed.
302
 
        # TODO set a fake logger
303
 
        self.failUnless(isinstance(runner.get_arch_impl(),
304
 
                                   pqm.Baz1_1Handler))
305
 
 
306
296
    def test_check_revision(self):
307
297
        configp = pqm.ConfigParser()
308
298
        handler = pqm.BranchSpecOptionHandler(configp)