Fix packager_test break in Windows

Change-Id: Id43e4bd0e2067fd9ad74f8c5c60df7ddba75e840
This commit is contained in:
Kongqun Yang 2016-12-09 14:08:56 -08:00
parent c8ffa54d35
commit d8d94da250
1 changed files with 2 additions and 2 deletions

View File

@ -39,8 +39,8 @@ class PackagerAppTest(unittest.TestCase):
def testVersion(self):
self.assertRegexpMatches(
self.packager.Version(), '^packager version '
r'((?P<tag>[\w\.]+)-)?(?P<hash>[a-f\d]+)-(debug|release)\n.*$')
self.packager.Version(), '^packager(.exe)? version '
r'((?P<tag>[\w\.]+)-)?(?P<hash>[a-f\d]+)-(debug|release)[\r\n]+.*$')
def testDumpStreamInfo(self):
test_file = os.path.join(self.test_data_dir, 'bear-640x360.mp4')