~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_win32utils.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-11-12 00:37:35 UTC
  • mfrom: (4792.2.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20091112003735-0e7h1y9j2fo0kbnv
(jam) Fix glob tests order-related failures

Show diffs side-by-side

added added

removed removed

Lines of Context:
327
327
class Test_CommandLineToArgv(tests.TestCaseInTempDir):
328
328
 
329
329
    def assertCommandLine(self, expected, line):
330
 
        self.assertEqual(expected, win32utils._command_line_to_argv(line))
 
330
        # Strictly speaking we should respect parameter order versus glob
 
331
        # expansions, but it's not really worth the effort here
 
332
        self.assertEqual(expected,
 
333
                         sorted(win32utils._command_line_to_argv(line)))
331
334
 
332
335
    def test_glob_paths(self):
333
336
        self.build_tree(['a/', 'a/b.c', 'a/c.c', 'a/c.h'])