lp:~pfalcon/linaro-license-protection/testfixes
- Get this branch:
- bzr branch lp:~pfalcon/linaro-license-protection/testfixes
Branch merges
- Georgy Redkozubov: Approve
- Linaro Infrastructure: Pending requested
-
Diff: 36 lines (+2/-6)2 files modifiedlicense_protected_downloads/tests/test_buildinfo.py (+2/-0)
tests/__init__.py (+0/-6)
Branch information
Recent revisions
- 88. By Paul Sokolovsky
-
Make sure to declare/initial variables used in tests.
Or this can fail with Python runtime error, e.g.:
=======
======= ======= ======= ======= ======= ======= ======= ======= =======
ERROR: test_get (license_protected_ downloads. tests.test_ buildinfo. BuildInfoTests)
-------------- ------- ------- ------- ------- ------- ------- ------- -------
Traceback (most recent call last):
File "/home/pfalcon/ devel/linaro/ linaro- license- protection/ license_ protected_ downloads/ tests/test_ buildinfo. py", line 48, in test_get
self.assertEqual( value, "landing- protected" )
UnboundLocalError: local variable 'value' referenced before assignment - 85. By Данило Шеган
-
Restore previous revision history by removing already merged then reverted bits. (Adding this commit to ensure people are warned of the discrepancy in their histories so they do not remerge broken stuff again)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)