chiark / gitweb /
fix intermittent test failure
authorHans-Christoph Steiner <hans@eds.org>
Thu, 3 May 2018 11:30:03 +0000 (13:30 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Thu, 3 May 2018 11:46:42 +0000 (13:46 +0200)
commit98a2f70e38605450446857fd7064e702f9f55b73
treeb12e29f38f29ecb08ed0d0b49dbfedccf04b4ada
parentcc1e10a37ae16b849f3e64ad126dcd7264ce8188
fix intermittent test failure

For some reason, the parser stopped working intermittently, even
though the format has been the same since aapt 23 or earlier.  Then
also, some of the test cases pointed to symlinks that were no longer
generated, and one test app now has a blank versionName.

Strange that this wasn't caught in the gitlab-ci runs.  !484

FAIL: test_get_api_id_aapt (__main__.CommonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./common.TestCase", line 578, in testA_get_api_id_aapt
    self.assertEqual(versionName, vn)
AssertionError: '0.1' != "0.1' platformBuildVersionName='4.3.1-1425645"
- 0.1
+ 0.1' platformBuildVersionName='4.3.1-1425645
fdroidserver/common.py
tests/common.TestCase